#1F0D4F#1F0D4F
#1F0D4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.111 H 287.0°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F0D4F |
|---|---|
| RGB | rgb(31, 13, 79) |
| HSL | hsl(256, 72%, 18%) |
| HSV | hsv(256, 84%, 31%) |
| CMYK | cmyk(60.8%, 83.5%, 0%, 69%) |
| CIE-LAB | lab(10.13, 28.09, -36.94) |
| CIE-LCH | lch(10.13, 46.41, 307.25°) |
| OKLab | oklab(23.79% 0.0326 -0.1063) |
| OKLCH | oklch(23.79% 0.111 287) |
| XYZ | xyz(2.1199, 1.1436, 7.5046) |
| Luminance | 0.0114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.58
Night Blue
#040348
ΔE00 3.83
Dark Blue
#00035B
ΔE00 4.97
Darkblue (survey)
#030764
ΔE00 5.42
Navy Blue (survey)
#001146
ΔE00 5.67
Midnight Blue
#191970
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F0D4F #3D4F0D
analogous
#0D1C4F #1F0D4F #400D4F
triadic
#1F0D4F #4F1F0D #0D4F1F
tetradic
#1F0D4F #4F0D1C #3D4F0D #0D4F40
square
#1F0D4F #4F0D1C #3D4F0D #0D4F40
split-complementary
#1F0D4F #4F400D #1C4F0D
monochromatic
#0A041A #0A041A #1F0D4F #341684 #481EB8
Accessibility & contrast
On white
17.09
#1F0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#1F0D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F0D4F
17.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F0D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F0D4F | 1.00 | 17.09 | 1.23 | 17.09 |
| #FFFFFF | 17.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#0A202D
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #1f0d4f; /* rgb */ color: rgb(31, 13, 79); /* oklch */ color: oklch(23.8% 0.111 287.0);
Tailwind
colors: {
custom: {
50: '#624e81',
500: '#1f0d4f',
950: '#000000',
},
}SCSS
$custom: #1f0d4f; $custom-light: #624e81; $custom-dark: #000000;
JSON
{
"hex": "#1f0d4f",
"rgb": {
"r": 31,
"g": 13,
"b": 79
},
"hsl": {
"h": 256.364,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.23789,
"c": 0.11119,
"h": 287
},
"luminance": 0.01144
}Semantic roles & 50–950 ramp
primary
#1F0D4F
secondary
#718A2E
accent
#EE39BD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C