#17021B
Closest named color: Very Dark Purple (#2A0134). oklch(15.3% 0.062 321.6), rgb(23, 2, 27).
Aa
White text reads best on this color (19.79:1).
About this color
#17021B is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.062 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.068 away. White text reads best on it, at 19.79:1.
| Hue family | Purples |
| Lightness | very dark (15%) |
| Chroma | muted (0.062) |
| Temperature | in between |
| Nearest name | Very Dark Purple (#2A0134) |
| Black text | 1.06:1 |
| White text | 19.79:1 |
Values
| HEX | #17021B |
| RGB | rgb(23, 2, 27) |
| HSL | hsl(290, 86%, 6%) |
| OKLCH | oklch(15.3% 0.062 321.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 #17021B | 19.79:1 | AAA | Lc -107.5 | Preferred for body text |
| Black text on #17021B | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #17021B text on white | 19.79:1 | AAA | Lc 105.6 | Preferred for body text |
| #17021B text on black | 1.06:1 | Fails | Lc 0.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 950.
-
Step 50
50
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F1E5F3
oklch(93.5% 0.023 321.4)
-
Step 200
200
#E6D1EA
oklch(88.5% 0.041 320.8)
-
Step 300
300
#D7B1DD
oklch(80.8% 0.074 321.7)
-
Step 400
400
#C387CC
oklch(70.7% 0.118 322.1)
-
Step 500
500
#B267BF
oklch(63% 0.15 321.5)
-
Step 600
600
#9E4CAB
oklch(55.6% 0.164 322)
-
Step 700
700
#873D93
oklch(49.2% 0.151 321.9)
-
Step 800
800
#6D3377
oklch(42.7% 0.125 321.6)
-
Step 900
900
#592D60
oklch(37.7% 0.098 322)
-
Step 950
950 (this color)
#17021B
oklch(15.3% 0.062 321.6)
#17021B 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) | #00081C | 0.062 |
| Deuteranopia (no green cones) | #040B1A | 0.055 |
| Tritanopia (no blue cones) | #17050C | 0.038 |
| Achromatopsia (no color) | #0A0A0A | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #17021B
#17021B
oklch(15.3% 0.062 321.6)
- #011100
#011100
oklch(15.5% 0.051 140.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 #17021B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Purple #2A0134 ΔE 0.068
- Almost Black #070D0D ΔE 0.068
- Midnight Purple #280137 ΔE 0.069
- Very Dark Brown #1D0200 ΔE 0.069
- Midnight #03012D ΔE 0.069
- Rich Navy #001219 ΔE 0.076
- Dark Navy Blue #00022E ΔE 0.078
- Dark Navy #000435 ΔE 0.082
Use #17021B 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.