#170A1B
Closest named color: Almost Black (#070D0D). oklch(17.3% 0.039 317.9), rgb(23, 10, 27).
Aa
White text reads best on this color (19.16:1).
About this color
#170A1B is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.039 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.050 away. White text reads best on it, at 19.16:1.
| Hue family | Purples |
| Lightness | very dark (17%) |
| Chroma | muted (0.039) |
| Temperature | in between |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.09:1 |
| White text | 19.16:1 |
Values
| HEX | #170A1B |
| RGB | rgb(23, 10, 27) |
| HSL | hsl(286, 46%, 7%) |
| OKLCH | oklch(17.3% 0.039 317.9) |
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 #170A1B | 19.16:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #170A1B | 1.09:1 | Fails | Lc 0.0 | Not readable |
| #170A1B text on white | 19.16:1 | AAA | Lc 105.5 | Preferred for body text |
| #170A1B text on black | 1.09: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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EEE7F0
oklch(93.6% 0.014 318.7)
-
Step 200
200
#E0D4E4
oklch(88.4% 0.025 317.7)
-
Step 300
300
#CDB8D4
oklch(80.9% 0.045 317.7)
-
Step 400
400
#B492BF
oklch(70.6% 0.075 317.8)
-
Step 500
500
#A177AF
oklch(63.1% 0.095 317.5)
-
Step 600
600
#8C5F9A
oklch(55.6% 0.102 317.9)
-
Step 700
700
#774E84
oklch(49.1% 0.096 317.8)
-
Step 800
800
#61406B
oklch(42.6% 0.08 318.1)
-
Step 900
900
#4F3757
oklch(37.7% 0.061 317.5)
-
Step 950
950 (this color)
#170A1B
oklch(17.3% 0.039 317.9)
#170A1B 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) | #070E1C | 0.035 |
| Deuteranopia (no green cones) | #0B0F1B | 0.029 |
| Tritanopia (no blue cones) | #170C11 | 0.024 |
| Achromatopsia (no color) | #0F0F0F | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #170A1B
#170A1B
oklch(17.3% 0.039 317.9)
- #071404
#071404
oklch(17.3% 0.039 138.6)
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 #170A1B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.050
- Rich Navy #001219 ΔE 0.052
- Rich Black #0D1B2A ΔE 0.061
- Very Dark Brown #1D0200 ΔE 0.063
- Very Dark Purple #2A0134 ΔE 0.070
- Midnight Purple #280137 ΔE 0.072
- Midnight #03012D ΔE 0.074
- Dark Navy Blue #00022E ΔE 0.080
Use #170A1B 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.