#1B0D34
Closest named color: Midnight Purple (#280137). oklch(20.5% 0.073 295.8), rgb(27, 13, 52).
Aa
White text reads best on this color (18.20:1).
About this color
#1B0D34 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.073 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.039 away. White text reads best on it, at 18.20:1.
| Hue family | Purples |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.073) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.15:1 |
| White text | 18.20:1 |
Values
| HEX | #1B0D34 |
| RGB | rgb(27, 13, 52) |
| HSL | hsl(262, 60%, 13%) |
| OKLCH | oklch(20.5% 0.073 295.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 #1B0D34 | 18.20:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #1B0D34 | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #1B0D34 text on white | 18.20:1 | AAA | Lc 104.7 | Preferred for body text |
| #1B0D34 text on black | 1.15: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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE7F9
oklch(93.6% 0.024 296.1)
-
Step 200
200
#DBD3F6
oklch(88.4% 0.048 295.9)
-
Step 300
300
#C5B6F3
oklch(81% 0.086 295.7)
-
Step 400
400
#A88DED
oklch(70.7% 0.139 295.6)
-
Step 500
500
#956DE7
oklch(63.1% 0.178 296)
-
Step 600
600
#8052D5
oklch(55.7% 0.192 295.7)
-
Step 700
700
#6C41B8
oklch(49% 0.179 295.7)
-
Step 800
800
#583795
oklch(42.7% 0.147 295.7)
-
Step 900
900
#483177
oklch(37.8% 0.115 295.5)
-
Step 950
950 (this color)
#1B0D34
oklch(20.5% 0.073 295.8)
#1B0D34 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) | #001635 | 0.049 |
| Deuteranopia (no green cones) | #001533 | 0.049 |
| Tritanopia (no blue cones) | #15161E | 0.058 |
| Achromatopsia (no color) | #151515 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1B0D34
#1B0D34
oklch(20.5% 0.073 295.8)
- #161A00
#161A00
oklch(20.6% 0.048 117.2)
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 #1B0D34, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.039
- Very Dark Purple #2A0134 ΔE 0.043
- Rich Black #0D1B2A ΔE 0.055
- Navy Blue #001146 ΔE 0.058
- Dark Indigo #1F0954 ΔE 0.061
- Dark Purple #35063E ΔE 0.063
- Night Blue #040348 ΔE 0.067
- Deep Purple #36013F ΔE 0.068
Use #1B0D34 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.