#211336
Closest named color: Midnight Purple (#280137). oklch(22.6% 0.066 299.5), rgb(33, 19, 54).
Aa
White text reads best on this color (17.33:1).
About this color
#211336 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.066 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.044 away. White text reads best on it, at 17.33:1.
| Hue family | Purples |
| Lightness | very dark (23%) |
| Chroma | muted (0.066) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.21:1 |
| White text | 17.33:1 |
Values
| HEX | #211336 |
| RGB | rgb(33, 19, 54) |
| HSL | hsl(264, 48%, 14%) |
| OKLCH | oklch(22.6% 0.066 299.5) |
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 #211336 | 17.33:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #211336 | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #211336 text on white | 17.33:1 | AAA | Lc 104.1 | Preferred for body text |
| #211336 text on black | 1.21: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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#ECE7F7
oklch(93.7% 0.022 300.2)
-
Step 200
200
#DDD3F2
oklch(88.4% 0.043 300.2)
-
Step 300
300
#C8B6ED
oklch(81% 0.079 299.6)
-
Step 400
400
#AC8EE3
oklch(70.7% 0.125 299.5)
-
Step 500
500
#996FDB
oklch(63.1% 0.16 299.8)
-
Step 600
600
#8454C9
oklch(55.5% 0.176 299.6)
-
Step 700
700
#7044AE
oklch(49.1% 0.163 299.5)
-
Step 800
800
#5B398D
oklch(42.8% 0.135 299.3)
-
Step 900
900
#4A3270
oklch(37.7% 0.104 299.2)
-
Step 950
950 (this color)
#211336
oklch(22.6% 0.066 299.5)
#211336 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) | #051A37 | 0.048 |
| Deuteranopia (no green cones) | #091A35 | 0.044 |
| Tritanopia (no blue cones) | #1D1A22 | 0.050 |
| Achromatopsia (no color) | #1A1A1A | 0.067 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #211336
#211336
oklch(22.6% 0.066 299.5)
- #191F00
#191F00
oklch(22.5% 0.053 119.5)
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 #211336, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.044
- Very Dark Purple #2A0134 ΔE 0.045
- Rich Black #0D1B2A ΔE 0.051
- Dark Purple #35063E ΔE 0.053
- Eggplant #380835 ΔE 0.055
- Dark #1B2431 ΔE 0.059
- Deep Purple #36013F ΔE 0.059
- Oxford Blue #1B263B ΔE 0.059
Use #211336 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.