#1B0218
Closest named color: Very Dark Brown (#1D0200). oklch(15.9% 0.062 332.8), rgb(27, 2, 24).
Aa
White text reads best on this color (19.65:1).
About this color
#1B0218 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.062 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.060 away. White text reads best on it, at 19.65:1.
| Hue family | Purples |
| Lightness | very dark (16%) |
| Chroma | muted (0.062) |
| Temperature | in between |
| Nearest name | Very Dark Brown (#1D0200) |
| Black text | 1.06:1 |
| White text | 19.65:1 |
Values
| HEX | #1B0218 |
| RGB | rgb(27, 2, 24) |
| HSL | hsl(307, 86%, 6%) |
| OKLCH | oklch(15.9% 0.062 332.8) |
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 #1B0218 | 19.65:1 | AAA | Lc -107.5 | Preferred for body text |
| Black text on #1B0218 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #1B0218 text on white | 19.65:1 | AAA | Lc 105.5 | Preferred for body text |
| #1B0218 text on black | 1.06: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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F3E5F0
oklch(93.6% 0.021 332.9)
-
Step 200
200
#EAD0E5
oklch(88.5% 0.04 332.4)
-
Step 300
300
#DEB0D5
oklch(81% 0.072 333.1)
-
Step 400
400
#CC84C0
oklch(70.7% 0.118 332.9)
-
Step 500
500
#BD63B0
oklch(63.1% 0.15 332.8)
-
Step 600
600
#A8489B
oklch(55.6% 0.162 333)
-
Step 700
700
#903985
oklch(49.2% 0.15 332.8)
-
Step 800
800
#75306C
oklch(42.8% 0.124 332.8)
-
Step 900
900
#5F2B58
oklch(37.8% 0.098 332.6)
-
Step 950
950 (this color)
#1B0218
oklch(15.9% 0.062 332.8)
#1B0218 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) | #010919 | 0.068 |
| Deuteranopia (no green cones) | #080D17 | 0.058 |
| Tritanopia (no blue cones) | #1D030B | 0.031 |
| Achromatopsia (no color) | #0B0B0B | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1B0218
#1B0218
oklch(15.9% 0.062 332.8)
- #001205
#001205
oklch(16% 0.041 152.8)
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 #1B0218, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Brown #1D0200 ΔE 0.060
- Very Dark Purple #2A0134 ΔE 0.066
- Midnight Purple #280137 ΔE 0.069
- Almost Black #070D0D ΔE 0.069
- Rich Navy #001219 ΔE 0.079
- Midnight #03012D ΔE 0.082
- Rich Black #0D1B2A ΔE 0.089
- Dark Navy Blue #00022E ΔE 0.090
Use #1B0218 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.