#662079
Closest named color: Purple (#800080). oklch(39.4% 0.152 318.1), rgb(102, 32, 121).
Aa
White text reads best on this color (10.25:1).
About this color
#662079 is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.152 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.058 away. White text reads best on it, at 10.25:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Purple (#800080) |
| Black text | 2.04:1 |
| White text | 10.25:1 |
Values
| HEX | #662079 |
| RGB | rgb(102, 32, 121) |
| HSL | hsl(287, 58%, 30%) |
| OKLCH | oklch(39.4% 0.152 318.1) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #662079 | 10.25:1 | AAA | Lc -97.1 | Preferred for body text |
| Black text on #662079 | 2.04:1 | Fails | Lc 11.0 | Not readable |
| #662079 text on white | 10.25:1 | AAA | Lc 93.0 | Preferred for body text |
| #662079 text on black | 2.04:1 | Fails | Lc -9.5 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F3E3F9
oklch(93.5% 0.034 316.9)
-
Step 200
200
#EBCDF5
oklch(88.6% 0.063 317.6)
-
Step 300
300
#E0A9F0
oklch(80.9% 0.114 318.5)
-
Step 400
400
#CF77E9
oklch(70.8% 0.182 318.1)
-
Step 500
500
#C14AE2
oklch(63.1% 0.234 318.1)
-
Step 600
600
#AC1DCF
oklch(55.5% 0.253 318.1)
-
Step 700
700
#9405B3
oklch(49.1% 0.235 318.3)
-
Step 800
800
#781091
oklch(42.6% 0.195 318.2)
-
Step 900
900 (this color)
#662079
oklch(39.4% 0.152 318.1)
-
Step 950
950
#391244
oklch(27% 0.096 318)
#662079 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #003C7C | 0.148 |
| Deuteranopia (no green cones) | #244377 | 0.130 |
| Tritanopia (no blue cones) | #66314A | 0.095 |
| Achromatopsia (no color) | #414141 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #662079
#662079
oklch(39.4% 0.152 318.1)
- #1E5400
#1E5400
oklch(39.4% 0.122 138.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #662079, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple #800080 ΔE 0.058
- Rebecca Purple #663399 ΔE 0.062
- Rich Purple #720058 ΔE 0.067
- Grape Purple #5D1451 ΔE 0.072
- Indigo #4B0082 ΔE 0.077
- Velvet #750851 ΔE 0.077
- Royal Purple #4B006E ΔE 0.079
- Dark Magenta #8B008B ΔE 0.082
Use #662079 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.