#662770
Closest named color: Rich Purple (#720058). oklch(39.6% 0.133 322), rgb(102, 39, 112).
Aa
White text reads best on this color (10.05:1).
About this color
#662770 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.133 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.061 away. White text reads best on it, at 10.05:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Rich Purple (#720058) |
| Black text | 2.08:1 |
| White text | 10.05:1 |
Values
| HEX | #662770 |
| RGB | rgb(102, 39, 112) |
| HSL | hsl(292, 48%, 30%) |
| OKLCH | oklch(39.6% 0.133 322) |
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 #662770 | 10.05:1 | AAA | Lc -96.9 | Preferred for body text |
| Black text on #662770 | 2.08:1 | Fails | Lc 11.2 | Not readable |
| #662770 text on white | 10.05:1 | AAA | Lc 92.7 | Preferred for body text |
| #662770 text on black | 2.08:1 | Fails | Lc -9.7 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F6
oklch(93.6% 0.029 320.6)
-
Step 200
200
#EBCEEF
oklch(88.6% 0.054 322.2)
-
Step 300
300
#DFABE7
oklch(80.8% 0.1 321.9)
-
Step 400
400
#CE7CDB
oklch(70.8% 0.159 322)
-
Step 500
500
#C054D1
oklch(63.1% 0.205 322)
-
Step 600
600
#AB32BE
oklch(55.6% 0.222 321.8)
-
Step 700
700
#9322A4
oklch(49.2% 0.206 322)
-
Step 800
800
#771F85
oklch(42.7% 0.172 321.8)
-
Step 900
900 (this color)
#662770
oklch(39.6% 0.133 322)
-
Step 950
950
#39153E
oklch(27% 0.084 322.6)
#662770 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) | #173D72 | 0.132 |
| Deuteranopia (no green cones) | #30446E | 0.113 |
| Tritanopia (no blue cones) | #673247 | 0.081 |
| Achromatopsia (no color) | #424242 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #662770
#662770
oklch(39.6% 0.133 322)
- #065700
#065700
oklch(39.7% 0.133 141.9)
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 #662770, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Purple #720058 ΔE 0.061
- Grape Purple #5D1451 ΔE 0.063
- Velvet #750851 ΔE 0.067
- Purple #800080 ΔE 0.068
- Rebecca Purple #663399 ΔE 0.070
- Dark Slate Blue #483D8B ΔE 0.082
- Royal Purple #4B006E ΔE 0.088
- Dark Magenta #8B008B ΔE 0.090
Use #662770 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.