#662B54
Closest named color: Grape Purple (#5D1451). oklch(38.6% 0.101 340.7), rgb(102, 43, 84).
Aa
White text reads best on this color (10.30:1).
About this color
#662B54 is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.101 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.053 away. White text reads best on it, at 10.30:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.101) |
| Temperature | warm |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 2.03:1 |
| White text | 10.30:1 |
Values
| HEX | #662B54 |
| RGB | rgb(102, 43, 84) |
| HSL | hsl(318, 41%, 28%) |
| OKLCH | oklch(38.6% 0.101 340.7) |
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 #662B54 | 10.30:1 | AAA | Lc -97.6 | Preferred for body text |
| Black text on #662B54 | 2.03:1 | Fails | Lc 10.5 | Not readable |
| #662B54 text on white | 10.30:1 | AAA | Lc 93.5 | Preferred for body text |
| #662B54 text on black | 2.03:1 | Fails | Lc -9.0 | 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
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F5E4EE
oklch(93.5% 0.023 341.3)
-
Step 200
200
#EDCFE2
oklch(88.5% 0.042 339.7)
-
Step 300
300
#E3AECF
oklch(80.9% 0.075 341.1)
-
Step 400
400
#D381B7
oklch(70.6% 0.121 340.9)
-
Step 500
500
#C55FA5
oklch(63.1% 0.154 340.8)
-
Step 600
600
#B04390
oklch(55.6% 0.167 340.9)
-
Step 700
700
#97337B
oklch(49.1% 0.156 340.6)
-
Step 800
800
#7B2C64
oklch(42.8% 0.129 340.8)
-
Step 900
900 (this color)
#662B54
oklch(38.6% 0.101 340.7)
-
Step 950
950
#3A1830
oklch(26.9% 0.064 339.8)
#662B54 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) | #2E3A55 | 0.106 |
| Deuteranopia (no green cones) | #3F4452 | 0.095 |
| Tritanopia (no blue cones) | #6C2C3B | 0.046 |
| Achromatopsia (no color) | #404040 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #662B54
#662B54
oklch(38.6% 0.101 340.7)
- #005234
#005234
oklch(38.7% 0.087 160.4)
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 #662B54, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.053
- Velvet #750851 ΔE 0.054
- Purple Brown #673A3F ΔE 0.061
- Rich Purple #720058 ΔE 0.062
- Merlot #730039 ΔE 0.067
- Red Purple #820747 ΔE 0.069
- Wine #80013F ΔE 0.072
- Brownish Purple #76424E ΔE 0.075
Use #662B54 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.