#170A22
Closest named color: Rich Navy (#001219). oklch(17.8% 0.05 307.1), rgb(23, 10, 34).
Aa
White text reads best on this color (19.03:1).
About this color
#170A22 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.050 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.057 away. White text reads best on it, at 19.03:1.
| Hue family | Purples |
| Lightness | very dark (18%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.10:1 |
| White text | 19.03:1 |
Values
| HEX | #170A22 |
| RGB | rgb(23, 10, 34) |
| HSL | hsl(273, 55%, 9%) |
| OKLCH | oklch(17.8% 0.05 307.1) |
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 #170A22 | 19.03:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #170A22 | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #170A22 text on white | 19.03:1 | AAA | Lc 105.4 | Preferred for body text |
| #170A22 text on black | 1.10: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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F3
oklch(93.6% 0.017 308.3)
-
Step 200
200
#DFD4EB
oklch(88.6% 0.033 307.1)
-
Step 300
300
#CBB7DF
oklch(80.9% 0.059 307.6)
-
Step 400
400
#B091CF
oklch(70.7% 0.095 307)
-
Step 500
500
#9D75C2
oklch(63.2% 0.12 307.2)
-
Step 600
600
#885CAF
oklch(55.7% 0.132 307.1)
-
Step 700
700
#734B96
oklch(49.1% 0.122 307.1)
-
Step 800
800
#5E3E7A
oklch(42.8% 0.102 307.2)
-
Step 900
900
#4D3562
oklch(37.7% 0.079 307.6)
-
Step 950
950 (this color)
#170A22
oklch(17.8% 0.05 307.1)
#170A22 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) | #040F23 | 0.040 |
| Deuteranopia (no green cones) | #071021 | 0.036 |
| Tritanopia (no blue cones) | #150E14 | 0.035 |
| Achromatopsia (no color) | #101010 | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #170A22
#170A22
oklch(17.8% 0.05 307.1)
- #0C1500
#0C1500
oklch(18% 0.046 126.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 #170A22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.057
- Rich Black #0D1B2A ΔE 0.058
- Very Dark Purple #2A0134 ΔE 0.060
- Almost Black #070D0D ΔE 0.060
- Midnight Purple #280137 ΔE 0.060
- Midnight #03012D ΔE 0.067
- Dark Navy #000435 ΔE 0.071
- Dark Navy Blue #00022E ΔE 0.072
Use #170A22 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.