#1D0D2F#1D0D2F
#1D0D2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.3% C 0.066 H 302.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1D0D2F |
|---|---|
| RGB | rgb(29, 13, 47) |
| HSL | hsl(268, 57%, 12%) |
| HSV | hsv(268, 72%, 18%) |
| CMYK | cmyk(38.3%, 72.3%, 0%, 81.6%) |
| CIE-LAB | lab(6.81, 16.90, -19.51) |
| CIE-LCH | lch(6.81, 25.81, 310.90°) |
| OKLab | oklab(20.35% 0.0356 -0.0555) |
| OKLCH | oklch(20.35% 0.066 302.6) |
| XYZ | xyz(1.1636, 0.7543, 2.7731) |
| Luminance | 0.0075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 6.11
Very Dark Purple
#2A0134
ΔE00 6.17
Midnight
#03012D
ΔE00 6.96
Dark Purple
#35063E
ΔE00 7.42
Midnight Blue (survey)
#020035
ΔE00 7.68
Dark Navy Blue
#00022E
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D0D2F #1F2F0D
analogous
#0D0E2F #1D0D2F #2E0D2F
triadic
#1D0D2F #2F1D0D #0D2F1D
tetradic
#1D0D2F #2F0D0E #1F2F0D #0D2F2E
square
#1D0D2F #2F0D0E #1F2F0D #0D2F2E
split-complementary
#1D0D2F #2F2E0D #0E2F0D
monochromatic
#0F0718 #0F0718 #1D0D2F #3B1A5F #58288F
Accessibility & contrast
On white
18.25
#1D0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#1D0D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D0D2F
18.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D0D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D0D2F | 1.00 | 18.25 | 1.15 | 18.25 |
| #FFFFFF | 18.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#1A141C
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #1d0d2f; /* rgb */ color: rgb(29, 13, 47); /* oklch */ color: oklch(20.3% 0.066 302.6);
Tailwind
colors: {
custom: {
50: '#5a4c68',
500: '#1d0d2f',
950: '#000000',
},
}SCSS
$custom: #1d0d2f; $custom-light: #5a4c68; $custom-dark: #000000;
JSON
{
"hex": "#1d0d2f",
"rgb": {
"r": 29,
"g": 13,
"b": 47
},
"hsl": {
"h": 268.235,
"s": 56.667,
"l": 11.765
},
"oklch": {
"l": 0.20345,
"c": 0.06596,
"h": 302.6
},
"luminance": 0.00754
}Semantic roles & 50–950 ramp
primary
#1D0D2F
secondary
#4E6A2E
accent
#E04898
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A