#121229
Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.046 281.4), rgb(18, 18, 41).
Aa
White text reads best on this color (18.35:1).
About this color
#121229 is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.046 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.032 away. White text reads best on it, at 18.35:1.
| Hue family | Purples |
| Lightness | very dark (20%) |
| Chroma | muted (0.046) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.14:1 |
| White text | 18.35:1 |
Values
| HEX | #121229 |
| RGB | rgb(18, 18, 41) |
| HSL | hsl(240, 39%, 12%) |
| OKLCH | oklch(19.6% 0.046 281.4) |
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 #121229 | 18.35:1 | AAA | Lc -107.1 | Preferred for body text |
| Black text on #121229 | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #121229 text on white | 18.35:1 | AAA | Lc 104.9 | Preferred for body text |
| #121229 text on black | 1.14: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
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E8E9F4
oklch(93.6% 0.015 281.9)
-
Step 200
200
#D5D7ED
oklch(88.4% 0.03 281.6)
-
Step 300
300
#BABDE3
oklch(80.9% 0.054 281.6)
-
Step 400
400
#979AD6
oklch(70.6% 0.087 281.7)
-
Step 500
500
#7E81CA
oklch(63.1% 0.109 281)
-
Step 600
600
#6869B7
oklch(55.6% 0.119 281.2)
-
Step 700
700
#57579E
oklch(49.1% 0.112 281.5)
-
Step 800
800
#474780
oklch(42.6% 0.093 281.7)
-
Step 900
900
#3B3C67
oklch(37.6% 0.073 281.3)
-
Step 950
950 (this color)
#121229
oklch(19.6% 0.046 281.4)
#121229 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) | #09152A | 0.016 |
| Deuteranopia (no green cones) | #081428 | 0.017 |
| Tritanopia (no blue cones) | #0A171B | 0.040 |
| Achromatopsia (no color) | #141414 | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #121229
#121229
oklch(19.6% 0.046 281.4)
- #191600
#191600
oklch(19.8% 0.042 103)
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 #121229, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.032
- Rich Navy #001219 ΔE 0.048
- Navy Blue #001146 ΔE 0.063
- Almost Black #070D0D ΔE 0.063
- Dark Navy #000435 ΔE 0.065
- Dark #1B2431 ΔE 0.066
- Midnight Purple #280137 ΔE 0.068
- Midnight #03012D ΔE 0.070
Use #121229 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.