#6C166B
Closest named color: Rich Purple (#720058). oklch(38.4% 0.154 328.6), rgb(108, 22, 107).
Aa
White text reads best on this color (10.68:1).
About this color
#6C166B is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.154 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.038 away. White text reads best on it, at 10.68:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.154) |
| Temperature | in between |
| Nearest name | Rich Purple (#720058) |
| Black text | 1.96:1 |
| White text | 10.68:1 |
Values
| HEX | #6C166B |
| RGB | rgb(108, 22, 107) |
| HSL | hsl(301, 66%, 25%) |
| OKLCH | oklch(38.4% 0.154 328.6) |
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 #6C166B | 10.68:1 | AAA | Lc -97.7 | Preferred for body text |
| Black text on #6C166B | 1.96:1 | Fails | Lc 10.3 | Not readable |
| #6C166B text on white | 10.68:1 | AAA | Lc 93.6 | Preferred for body text |
| #6C166B text on black | 1.96:1 | Fails | Lc -8.9 | 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
#FCF2FB
oklch(97.1% 0.016 328.8)
-
Step 100
100
#F7E2F5
oklch(93.5% 0.034 328.8)
-
Step 200
200
#F2CBEF
oklch(88.6% 0.064 328.6)
-
Step 300
300
#EAA5E6
oklch(80.8% 0.117 328.6)
-
Step 400
400
#DD70D9
oklch(70.7% 0.186 328.7)
-
Step 500
500
#D040CE
oklch(63% 0.236 328.5)
-
Step 600
600
#BB00BB
oklch(55.6% 0.255 328.4)
-
Step 700
700
#9E009E
oklch(49.1% 0.226 328.4)
-
Step 800
800
#830082
oklch(42.7% 0.196 328.8)
-
Step 900
900 (this color)
#6C166B
oklch(38.4% 0.154 328.6)
-
Step 950
950
#3E0F3D
oklch(27% 0.096 328.7)
#6C166B 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) | #04376D | 0.167 |
| Deuteranopia (no green cones) | #2F4269 | 0.140 |
| Tritanopia (no blue cones) | #702440 | 0.085 |
| Achromatopsia (no color) | #3E3E3E | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6C166B
#6C166B
oklch(38.4% 0.154 328.6)
- #00531E
#00531E
oklch(38.6% 0.111 148.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 #6C166B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Purple #720058 ΔE 0.038
- Velvet #750851 ΔE 0.049
- Purple #800080 ΔE 0.054
- Grape Purple #5D1451 ΔE 0.054
- Red Purple #820747 ΔE 0.080
- Dark Magenta #8B008B ΔE 0.081
- Royal Purple #4B006E ΔE 0.084
- Plum Purple #4E0550 ΔE 0.085
Use #6C166B 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.