#1D0C4D#1D0C4D
#1D0C4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.110 H 286.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1D0C4D |
|---|---|
| RGB | rgb(29, 12, 77) |
| HSL | hsl(256, 73%, 17%) |
| HSV | hsv(256, 84%, 30%) |
| CMYK | cmyk(62.3%, 84.4%, 0%, 69.8%) |
| CIE-LAB | lab(9.48, 27.68, -36.64) |
| CIE-LCH | lch(9.48, 45.93, 307.07°) |
| OKLab | oklab(23.21% 0.0305 -0.1055) |
| OKLCH | oklch(23.21% 0.11 286.1) |
| XYZ | xyz(1.9773, 1.0599, 7.1201) |
| Luminance | 0.0106 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.77
Night Blue
#040348
ΔE00 3.50
Dark Blue
#00035B
ΔE00 4.94
Navy Blue (survey)
#001146
ΔE00 5.44
Darkblue (survey)
#030764
ΔE00 5.51
Midnight Blue (survey)
#020035
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D0C4D #3C4D0C
analogous
#0C1C4D #1D0C4D #3D0C4D
triadic
#1D0C4D #4D1D0C #0C4D1D
tetradic
#1D0C4D #4D0C1C #3C4D0C #0C4D3D
square
#1D0C4D #4D0C1C #3C4D0C #0C4D3D
split-complementary
#1D0C4D #4D3D0C #1C4D0C
monochromatic
#0A041A #0A041A #1D0C4D #311482 #451DB7
Accessibility & contrast
On white
17.33
#1D0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#1D0C4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D0C4D
17.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D0C4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D0C4D | 1.00 | 17.33 | 1.21 | 17.33 |
| #FFFFFF | 17.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#061F2C
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #1d0c4d; /* rgb */ color: rgb(29, 12, 77); /* oklch */ color: oklch(23.2% 0.110 286.1);
Tailwind
colors: {
custom: {
50: '#604d80',
500: '#1d0c4d',
950: '#000000',
},
}SCSS
$custom: #1d0c4d; $custom-light: #604d80; $custom-dark: #000000;
JSON
{
"hex": "#1d0c4d",
"rgb": {
"r": 29,
"g": 12,
"b": 77
},
"hsl": {
"h": 255.692,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.23208,
"c": 0.10984,
"h": 286.1
},
"luminance": 0.0106
}Semantic roles & 50–950 ramp
primary
#1D0C4D
secondary
#70892C
accent
#F038C0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C