#23172F
Closest named color: Rich Black (#0D1B2A). oklch(23.2% 0.048 306.1), rgb(35, 23, 47).
Aa
White text reads best on this color (17.00:1).
About this color
#23172F is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.048 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.042 away. White text reads best on it, at 17.00:1.
| Hue family | Purples |
| Lightness | very dark (23%) |
| Chroma | muted (0.048) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.23:1 |
| White text | 17.00:1 |
Values
| HEX | #23172F |
| RGB | rgb(35, 23, 47) |
| HSL | hsl(270, 34%, 14%) |
| OKLCH | oklch(23.2% 0.048 306.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 #23172F | 17.00:1 | AAA | Lc -106.2 | Preferred for body text |
| Black text on #23172F | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #23172F text on white | 17.00:1 | AAA | Lc 103.8 | Preferred for body text |
| #23172F text on black | 1.23: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
#ECE7F3
oklch(93.5% 0.017 304.8)
-
Step 200
200
#DED4EA
oklch(88.5% 0.032 306.2)
-
Step 300
300
#C9B8DE
oklch(80.9% 0.056 305.4)
-
Step 400
400
#AE92CD
oklch(70.6% 0.09 305.9)
-
Step 500
500
#9B76C0
oklch(63.1% 0.115 306.4)
-
Step 600
600
#865EAD
oklch(55.7% 0.125 306.1)
-
Step 700
700
#714D94
oklch(49.1% 0.116 306)
-
Step 800
800
#5C3F78
oklch(42.6% 0.097 306.2)
-
Step 900
900
#4C3661
oklch(37.7% 0.076 306.7)
-
Step 950
950 (this color)
#23172F
oklch(23.2% 0.048 306.1)
#23172F 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) | #111C30 | 0.035 |
| Deuteranopia (no green cones) | #141C2E | 0.031 |
| Tritanopia (no blue cones) | #211B20 | 0.036 |
| Achromatopsia (no color) | #1C1C1C | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #23172F
#23172F
oklch(23.2% 0.048 306.1)
- #182106
#182106
oklch(23.2% 0.047 125.3)
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 #23172F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.042
- Dark #1B2431 ΔE 0.044
- Oxford Blue #1B263B ΔE 0.050
- Jet #212529 ΔE 0.053
- Eggplant #380835 ΔE 0.057
- Very Dark Purple #2A0134 ΔE 0.058
- Midnight Purple #280137 ΔE 0.059
- Dark Purple #35063E ΔE 0.061
Use #23172F 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.