#21152B
Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.045 308.3), rgb(33, 21, 43).
Aa
White text reads best on this color (17.40:1).
About this color
#21152B is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.045 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.039 away. White text reads best on it, at 17.40:1.
| Hue family | Purples |
| Lightness | very dark (22%) |
| Chroma | muted (0.045) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.20:1 |
| White text | 17.40:1 |
Values
| HEX | #21152B |
| RGB | rgb(33, 21, 43) |
| HSL | hsl(273, 34%, 13%) |
| OKLCH | oklch(22.3% 0.045 308.3) |
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 #21152B | 17.40:1 | AAA | Lc -106.5 | Preferred for body text |
| Black text on #21152B | 1.20:1 | Fails | Lc 0.0 | Not readable |
| #21152B text on white | 17.40:1 | AAA | Lc 104.2 | Preferred for body text |
| #21152B text on black | 1.20: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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EDE7F2
oklch(93.6% 0.016 310.1)
-
Step 200
200
#DED4E8
oklch(88.4% 0.029 308.1)
-
Step 300
300
#CAB8DB
oklch(80.9% 0.052 308.3)
-
Step 400
400
#AF93C9
oklch(70.7% 0.083 308)
-
Step 500
500
#9C77BC
oklch(63.2% 0.108 308.2)
-
Step 600
600
#875FA8
oklch(55.7% 0.117 308.3)
-
Step 700
700
#724E90
oklch(49.1% 0.109 308)
-
Step 800
800
#5D4075
oklch(42.7% 0.091 308.2)
-
Step 900
900
#4C375E
oklch(37.7% 0.069 308.1)
-
Step 950
950 (this color)
#21152B
oklch(22.3% 0.045 308.3)
#21152B 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) | #101A2C | 0.034 |
| Deuteranopia (no green cones) | #131A2A | 0.030 |
| Tritanopia (no blue cones) | #20181D | 0.032 |
| Achromatopsia (no color) | #1A1A1A | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21152B
#21152B
oklch(22.3% 0.045 308.3)
- #151F07
#151F07
oklch(22.3% 0.044 128.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 #21152B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.039
- Dark #1B2431 ΔE 0.049
- Jet #212529 ΔE 0.057
- Very Dark Purple #2A0134 ΔE 0.057
- Oxford Blue #1B263B ΔE 0.058
- Midnight Purple #280137 ΔE 0.058
- Eggplant #380835 ΔE 0.061
- Dark Purple #35063E ΔE 0.066
Use #21152B 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.