#120D27
Closest named color: Rich Black (#0D1B2A). oklch(18.2% 0.051 289.1), rgb(18, 13, 39).
Aa
White text reads best on this color (18.87:1).
About this color
#120D27 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.051 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.048 away. White text reads best on it, at 18.87:1.
| Hue family | Purples |
| Lightness | very dark (18%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.11:1 |
| White text | 18.87:1 |
Values
| HEX | #120D27 |
| RGB | rgb(18, 13, 39) |
| HSL | hsl(252, 50%, 10%) |
| OKLCH | oklch(18.2% 0.051 289.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 #120D27 | 18.87:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #120D27 | 1.11:1 | Fails | Lc 0.0 | Not readable |
| #120D27 text on white | 18.87:1 | AAA | Lc 105.3 | Preferred for body text |
| #120D27 text on black | 1.11: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
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E9E8F5
oklch(93.6% 0.017 289.6)
-
Step 200
200
#D8D6EF
oklch(88.5% 0.034 289.4)
-
Step 300
300
#BFBBE6
oklch(81% 0.06 289.2)
-
Step 400
400
#9F96DA
oklch(70.7% 0.099 289.7)
-
Step 500
500
#887BCF
oklch(63% 0.124 289.4)
-
Step 600
600
#7263BC
oklch(55.5% 0.135 289)
-
Step 700
700
#6052A2
oklch(49.1% 0.124 289)
-
Step 800
800
#4E4384
oklch(42.7% 0.105 288.9)
-
Step 900
900
#41396A
oklch(37.7% 0.082 289.4)
-
Step 950
950 (this color)
#120D27
oklch(18.2% 0.051 289.1)
#120D27 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) | #031228 | 0.029 |
| Deuteranopia (no green cones) | #031026 | 0.028 |
| Tritanopia (no blue cones) | #0C1218 | 0.041 |
| Achromatopsia (no color) | #111111 | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #120D27
#120D27
oklch(18.2% 0.051 289.1)
- #141300
#141300
oklch(18.2% 0.039 107.4)
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 #120D27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.048
- Rich Navy #001219 ΔE 0.050
- Dark Navy #000435 ΔE 0.058
- Midnight #03012D ΔE 0.058
- Almost Black #070D0D ΔE 0.061
- Dark Navy Blue #00022E ΔE 0.062
- Midnight Purple #280137 ΔE 0.064
- Very Dark Blue #000133 ΔE 0.066
Use #120D27 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.