#1D0F5C#1D0F5C
#1D0F5C is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.3% C 0.127 H 280.7°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1D0F5C |
|---|---|
| RGB | rgb(29, 15, 92) |
| HSL | hsl(251, 72%, 21%) |
| HSV | hsv(251, 84%, 36%) |
| CMYK | cmyk(68.5%, 83.7%, 0%, 63.9%) |
| CIE-LAB | lab(11.79, 31.03, -43.07) |
| CIE-LCH | lch(11.79, 53.08, 305.77°) |
| OKLab | oklab(25.34% 0.0235 -0.1243) |
| OKLCH | oklch(25.34% 0.127 280.7) |
| XYZ | xyz(2.6087, 1.3754, 10.2511) |
| Luminance | 0.0138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.92
Darkblue (survey)
#030764
ΔE00 3.29
Dark Blue
#00035B
ΔE00 3.57
Midnight Blue
#191970
ΔE00 4.00
Night Blue
#040348
ΔE00 4.41
Dark Royal Blue
#02066F
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D0F5C #4E5C0F
analogous
#0F275C #1D0F5C #430F5C
triadic
#1D0F5C #5C1D0F #0F5C1D
tetradic
#1D0F5C #5C0F27 #4E5C0F #0F5C43
square
#1D0F5C #5C0F27 #4E5C0F #0F5C43
split-complementary
#1D0F5C #5C430F #275C0F
monochromatic
#08041A #0C0627 #1D0F5C #2E1891 #3E20C5
Accessibility & contrast
On white
16.47
#1D0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#1D0F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D0F5C
16.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D0F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D0F5C | 1.00 | 16.47 | 1.28 | 16.47 |
| #FFFFFF | 16.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #1d0f5c; /* rgb */ color: rgb(29, 15, 92); /* oklch */ color: oklch(25.3% 0.127 280.7);
Tailwind
colors: {
custom: {
50: '#63508b',
500: '#1d0f5c',
950: '#000000',
},
}SCSS
$custom: #1d0f5c; $custom-light: #63508b; $custom-dark: #000000;
JSON
{
"hex": "#1d0f5c",
"rgb": {
"r": 29,
"g": 15,
"b": 92
},
"hsl": {
"h": 250.909,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.25342,
"c": 0.1265,
"h": 280.7
},
"luminance": 0.01376
}Semantic roles & 50–950 ramp
primary
#1D0F5C
secondary
#839531
accent
#EF39CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D