#170E2F
Closest named color: Rich Black (#0D1B2A). oklch(19.8% 0.063 292.2), rgb(23, 14, 47).
Aa
White text reads best on this color (18.41:1).
About this color
#170E2F is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.063 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.048 away. White text reads best on it, at 18.41:1.
| Hue family | Purples |
| Lightness | very dark (20%) |
| Chroma | muted (0.063) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.14:1 |
| White text | 18.41:1 |
Values
| HEX | #170E2F |
| RGB | rgb(23, 14, 47) |
| HSL | hsl(256, 54%, 12%) |
| OKLCH | oklch(19.8% 0.063 292.2) |
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 #170E2F | 18.41:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #170E2F | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #170E2F text on white | 18.41:1 | AAA | Lc 104.9 | Preferred for body text |
| #170E2F text on black | 1.14: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
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#EAE8F8
oklch(93.7% 0.022 291.7)
-
Step 200
200
#D9D5F3
oklch(88.5% 0.041 291.7)
-
Step 300
300
#C1B8EE
oklch(80.8% 0.076 292.3)
-
Step 400
400
#A392E5
oklch(70.7% 0.12 292.5)
-
Step 500
500
#8D75DD
oklch(63.1% 0.153 292.1)
-
Step 600
600
#785BCB
oklch(55.6% 0.167 292)
-
Step 700
700
#654AAF
oklch(49.1% 0.154 292.1)
-
Step 800
800
#523D8E
oklch(42.6% 0.129 292)
-
Step 900
900
#443571
oklch(37.7% 0.1 292.5)
-
Step 950
950 (this color)
#170E2F
oklch(19.8% 0.063 292.2)
#170E2F 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) | #001530 | 0.041 |
| Deuteranopia (no green cones) | #01132E | 0.039 |
| Tritanopia (no blue cones) | #10151C | 0.051 |
| Achromatopsia (no color) | #141414 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #170E2F
#170E2F
oklch(19.8% 0.063 292.2)
- #161700
#161700
oklch(19.7% 0.044 111.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 #170E2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.048
- Midnight Purple #280137 ΔE 0.050
- Very Dark Purple #2A0134 ΔE 0.052
- Navy Blue #001146 ΔE 0.058
- Dark Navy #000435 ΔE 0.062
- Rich Navy #001219 ΔE 0.066
- Midnight #03012D ΔE 0.067
- Night Blue #040348 ΔE 0.068
Use #170E2F 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.