#22122C
Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.053 311.1), rgb(34, 18, 44).
Aa
White text reads best on this color (17.63:1).
About this color
#22122C is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.053 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.047 away. White text reads best on it, at 17.63:1.
| Hue family | Purples |
| Lightness | very dark (22%) |
| Chroma | muted (0.053) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.19:1 |
| White text | 17.63:1 |
Values
| HEX | #22122C |
| RGB | rgb(34, 18, 44) |
| HSL | hsl(277, 42%, 12%) |
| OKLCH | oklch(21.8% 0.053 311.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 #22122C | 17.63:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #22122C | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #22122C text on white | 17.63:1 | AAA | Lc 104.3 | Preferred for body text |
| #22122C text on black | 1.19: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
#EEE7F3
oklch(93.7% 0.018 311.6)
-
Step 200
200
#E1D3EB
oklch(88.5% 0.036 311.4)
-
Step 300
300
#CEB6DF
oklch(81% 0.062 311.2)
-
Step 400
400
#B58ECF
oklch(70.6% 0.102 311.3)
-
Step 500
500
#A271C2
oklch(63% 0.129 311)
-
Step 600
600
#8D58AF
oklch(55.6% 0.14 310.7)
-
Step 700
700
#784896
oklch(49.1% 0.129 310.9)
-
Step 800
800
#623B7A
oklch(42.7% 0.109 311.2)
-
Step 900
900
#503362
oklch(37.7% 0.085 311.4)
-
Step 950
950 (this color)
#22122C
oklch(21.8% 0.053 311.1)
#22122C 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) | #0C182D | 0.043 |
| Deuteranopia (no green cones) | #10192B | 0.040 |
| Tritanopia (no blue cones) | #21161C | 0.038 |
| Achromatopsia (no color) | #191919 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #22122C
#22122C
oklch(21.8% 0.053 311.1)
- #111F03
#111F03
oklch(21.9% 0.053 131.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 #22122C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.047
- Very Dark Purple #2A0134 ΔE 0.047
- Midnight Purple #280137 ΔE 0.049
- Eggplant #380835 ΔE 0.056
- Dark #1B2431 ΔE 0.059
- Dark Purple #35063E ΔE 0.060
- Oxford Blue #1B263B ΔE 0.065
- Aubergine #3D0734 ΔE 0.066
Use #22122C 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.