#201B31
Closest named color: Dark (#1B2431). oklch(23.9% 0.042 293.4), rgb(32, 27, 49).
Aa
White text reads best on this color (16.63:1).
About this color
#201B31 is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.042 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.031 away. White text reads best on it, at 16.63:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | muted (0.042) |
| Temperature | in between |
| Nearest name | Dark (#1B2431) |
| Black text | 1.26:1 |
| White text | 16.63:1 |
Values
| HEX | #201B31 |
| RGB | rgb(32, 27, 49) |
| HSL | hsl(254, 29%, 15%) |
| OKLCH | oklch(23.9% 0.042 293.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 #201B31 | 16.63:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #201B31 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #201B31 text on white | 16.63:1 | AAA | Lc 103.5 | Preferred for body text |
| #201B31 text on black | 1.26: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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#EAE8F3
oklch(93.6% 0.015 294.5)
-
Step 200
200
#D9D6EA
oklch(88.4% 0.027 292.7)
-
Step 300
300
#C1BBDE
oklch(80.8% 0.049 293.1)
-
Step 400
400
#A298CE
oklch(70.8% 0.079 292.8)
-
Step 500
500
#8C7DC1
oklch(63% 0.102 293.4)
-
Step 600
600
#7766AD
oklch(55.7% 0.109 293.6)
-
Step 700
700
#645495
oklch(49.1% 0.103 293.6)
-
Step 800
800
#514579
oklch(42.7% 0.085 293.1)
-
Step 900
900
#433A61
oklch(37.6% 0.066 293.6)
-
Step 950
950 (this color)
#201B31
oklch(23.9% 0.042 293.4)
#201B31 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) | #151E32 | 0.020 |
| Deuteranopia (no green cones) | #151E30 | 0.021 |
| Tritanopia (no blue cones) | #1C1F23 | 0.035 |
| Achromatopsia (no color) | #1E1E1E | 0.042 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #201B31
#201B31
oklch(23.9% 0.042 293.4)
- #1F2108
#1F2108
oklch(23.9% 0.041 113.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 #201B31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.031
- Rich Black #0D1B2A ΔE 0.036
- Oxford Blue #1B263B ΔE 0.037
- Jet #212529 ΔE 0.042
- Space Cadet #2B2D42 ΔE 0.066
- Eggplant #380835 ΔE 0.067
- Very Dark Purple #2A0134 ΔE 0.070
- Midnight Purple #280137 ΔE 0.070
Use #201B31 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.