#12112B
Closest named color: Rich Black (#0D1B2A). oklch(19.5% 0.051 282.3), rgb(18, 17, 43).
Aa
White text reads best on this color (18.40:1).
About this color
#12112B is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.051 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 18.40:1.
| Hue family | Purples |
| Lightness | very dark (20%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.14:1 |
| White text | 18.40:1 |
Values
| HEX | #12112B |
| RGB | rgb(18, 17, 43) |
| HSL | hsl(242, 43%, 12%) |
| OKLCH | oklch(19.5% 0.051 282.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 #12112B | 18.40:1 | AAA | Lc -107.1 | Preferred for body text |
| Black text on #12112B | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #12112B text on white | 18.40:1 | AAA | Lc 105.0 | Preferred for body text |
| #12112B 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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E9F6
oklch(93.7% 0.018 282.5)
-
Step 200
200
#D5D7EF
oklch(88.5% 0.033 281.9)
-
Step 300
300
#BABCE7
oklch(80.8% 0.06 282.9)
-
Step 400
400
#9799DC
oklch(70.7% 0.097 282.3)
-
Step 500
500
#7F7FD2
oklch(63.2% 0.123 282.3)
-
Step 600
600
#6966BF
oklch(55.5% 0.135 282.6)
-
Step 700
700
#5755A5
oklch(49.1% 0.125 281.9)
-
Step 800
800
#474685
oklch(42.7% 0.102 281.9)
-
Step 900
900
#3C3B6B
oklch(37.7% 0.081 282.8)
-
Step 950
950 (this color)
#12112B
oklch(19.5% 0.051 282.3)
#12112B 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) | #06152C | 0.021 |
| Deuteranopia (no green cones) | #05132A | 0.022 |
| Tritanopia (no blue cones) | #09171B | 0.046 |
| Achromatopsia (no color) | #141414 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12112B
#12112B
oklch(19.5% 0.051 282.3)
- #191500
#191500
oklch(19.5% 0.041 100.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 #12112B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.035
- Rich Navy #001219 ΔE 0.052
- Navy Blue #001146 ΔE 0.059
- Dark Navy #000435 ΔE 0.061
- Midnight Purple #280137 ΔE 0.065
- Midnight #03012D ΔE 0.066
- Very Dark Purple #2A0134 ΔE 0.067
- Almost Black #070D0D ΔE 0.067
Use #12112B 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.