#1D012F#1D012F
#1D012F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.089 H 308.2°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1D012F |
|---|---|
| RGB | rgb(29, 1, 47) |
| HSL | hsl(277, 96%, 9%) |
| HSV | hsv(277, 98%, 18%) |
| CMYK | cmyk(38.3%, 97.9%, 0%, 81.6%) |
| CIE-LAB | lab(4.41, 22.69, -23.34) |
| CIE-LCH | lch(4.41, 32.55, 314.19°) |
| OKLab | oklab(18.17% 0.0552 -0.07) |
| OKLCH | oklch(18.17% 0.089 308.2) |
| XYZ | xyz(1.0305, 0.4882, 2.7287) |
| Luminance | 0.0049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.42
Very Dark Purple
#2A0134
ΔE00 3.79
Dark Purple
#35063E
ΔE00 5.78
Dark Violet
#34013F
ΔE00 5.94
Deep Purple
#36013F
ΔE00 6.31
Eggplant
#380835
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D012F #132F01
analogous
#06012F #1D012F #2F012A
triadic
#1D012F #2F1D01 #012F1D
tetradic
#1D012F #2F0601 #132F01 #012A2F
square
#1D012F #2F0601 #132F01 #012A2F
split-complementary
#1D012F #2A2F01 #012F06
monochromatic
#12011E #12011E #1D012F #42026B #6704A7
Accessibility & contrast
On white
19.13
#1D012F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#1D012F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D012F
19.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D012F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D012F | 1.00 | 19.13 | 1.10 | 19.13 |
| #FFFFFF | 19.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#1A0C18
Achromatopsia (no color)
#0F0F0F
Design tokens & code
CSS
--color: #1d012f; /* rgb */ color: rgb(29, 1, 47); /* oklch */ color: oklch(18.2% 0.089 308.2);
Tailwind
colors: {
custom: {
50: '#5b4668',
500: '#1d012f',
950: '#000000',
},
}SCSS
$custom: #1d012f; $custom-light: #5b4668; $custom-dark: #000000;
JSON
{
"hex": "#1d012f",
"rgb": {
"r": 29,
"g": 1,
"b": 47
},
"hsl": {
"h": 276.522,
"s": 95.833,
"l": 9.412
},
"oklch": {
"l": 0.18167,
"c": 0.08918,
"h": 308.2
},
"luminance": 0.00488
}Semantic roles & 50–950 ramp
primary
#1D012F
secondary
#3C7517
accent
#FF297D
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A