#1D0F2D#1D0F2D
#1D0F2D is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.6% C 0.059 H 303.1°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1D0F2D |
|---|---|
| RGB | rgb(29, 15, 45) |
| HSL | hsl(268, 50%, 12%) |
| HSV | hsv(268, 67%, 18%) |
| CMYK | cmyk(35.6%, 66.7%, 0%, 82.4%) |
| CIE-LAB | lab(7.16, 15.01, -17.48) |
| CIE-LCH | lch(7.16, 23.04, 310.65°) |
| OKLab | oklab(20.57% 0.0323 -0.0494) |
| OKLCH | oklch(20.57% 0.059 303.1) |
| XYZ | xyz(1.1511, 0.7923, 2.5744) |
| Luminance | 0.0079 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Very Dark Purple
#2A0134
ΔE00 7.21
Midnight
#03012D
ΔE00 7.22
Midnight Purple
#280137
ΔE00 7.29
Dark Navy Blue
#00022E
ΔE00 7.95
Dark Purple
#35063E
ΔE00 8.34
Midnight Blue (survey)
#020035
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D0F2D #1F2D0F
analogous
#0F102D #1D0F2D #2C0F2D
triadic
#1D0F2D #2D1D0F #0F2D1D
tetradic
#1D0F2D #2D0F10 #1F2D0F #0F2D2C
square
#1D0F2D #2D0F10 #1F2D0F #0F2D2C
split-complementary
#1D0F2D #2D2C0F #102D0F
monochromatic
#0F0817 #0F0817 #1D0F2D #3B1E5B #582E89
Accessibility & contrast
On white
18.13
#1D0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#1D0F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D0F2D
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D0F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D0F2D | 1.00 | 18.13 | 1.16 | 18.13 |
| #FFFFFF | 18.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#1A151C
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #1d0f2d; /* rgb */ color: rgb(29, 15, 45); /* oklch */ color: oklch(20.6% 0.059 303.1);
Tailwind
colors: {
custom: {
50: '#5a4d66',
500: '#1d0f2d',
950: '#000000',
},
}SCSS
$custom: #1d0f2d; $custom-light: #5a4d66; $custom-dark: #000000;
JSON
{
"hex": "#1d0f2d",
"rgb": {
"r": 29,
"g": 15,
"b": 45
},
"hsl": {
"h": 268,
"s": 50,
"l": 11.765
},
"oklch": {
"l": 0.20571,
"c": 0.05903,
"h": 303.1
},
"luminance": 0.00792
}Semantic roles & 50–950 ramp
primary
#1D0F2D
secondary
#4E6631
accent
#DA4E99
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A