Analogous Color Palette Generator
Generate harmonious analogous color palettes by adjusting hue, spread, and count. Export as PNG or copy HEX, RGB, HSL values instantly.
About
Analogous color schemes use hues adjacent on the color wheel, typically within a 30° to 60° arc. They produce low-contrast, visually cohesive palettes found in nature (autumn foliage, ocean gradients). The risk of poor analogous selection is muddy, indistinguishable swatches that fail WCAG contrast ratios when used for text-on-background pairs. This tool computes n evenly-spaced hues across a configurable angular spread θ centered on a base hue H0, outputting precise HEX, RGB, and HSL values. It also reports relative luminance and contrast ratio between adjacent swatches so you can validate accessibility before committing to a design system.
The generator assumes the HSL cylindrical model where saturation and lightness remain constant across the palette unless individually overridden. Note: perceptual uniformity is not guaranteed because HSL does not map linearly to human vision. For print work, convert outputs to CMYK via a color-managed pipeline. Pro Tip: keep angular spread under 60° for cohesion. Spreads above 90° drift toward split-complementary territory.
Formulas
Each color Hi in the analogous palette is computed by distributing n hues symmetrically around the base hue H0 across the total angular spread θ.
where i ∈ {0, 1, …, n − 1}.
HSL to RGB conversion uses the standard algorithm. Given H ∈ [0, 360), S ∈ [0, 1], L ∈ [0, 1]:
WCAG relative luminance for contrast ratio calculation:
where Rlin, Glin, Blin are linearized sRGB values (gamma-decoded with threshold 0.04045).
Contrast ratio between two luminances L1 and L2 (L1 ≥ L2):
where H0 = base hue in degrees, θ = angular spread in degrees, n = number of colors, C = chroma, S = saturation, L = lightness, m = match value offset.
Reference Data
| Harmony Type | Angle Relationship | Typical Spread | Contrast Level | Common Use |
|---|---|---|---|---|
| Analogous | Adjacent hues | 15° - 60° | Low | Backgrounds, gradients |
| Complementary | H + 180° | 180° | High | CTA buttons, alerts |
| Split-Complementary | H ± 150° | 300° | Medium-High | Balanced layouts |
| Triadic | 120° apart | 240° | Medium | Playful, vibrant UI |
| Tetradic (Square) | 90° apart | 270° | High | Complex dashboards |
| Monochromatic | Same hue | 0° | Very Low | Minimal, elegant design |
| Narrow Analogous | Adjacent hues | 10° - 20° | Very Low | Subtle tonal shifts |
| Wide Analogous | Adjacent hues | 60° - 90° | Low-Medium | Illustrative palettes |
| Warm Analogous | 0° - 60° range | 30° - 60° | Low | Food, energy brands |
| Cool Analogous | 180° - 270° range | 30° - 60° | Low | Tech, healthcare |
| HSL Saturation | Range: 0 - 100% | - | - | Controls vividness |
| HSL Lightness | Range: 0 - 100% | - | - | Controls brightness |
| WCAG AA (Normal Text) | Contrast ≥ 4.5:1 | - | - | Minimum readability |
| WCAG AA (Large Text) | Contrast ≥ 3:1 | - | - | Headings ≥ 18pt |
| WCAG AAA | Contrast ≥ 7:1 | - | - | Enhanced readability |