#1F032F#1F032F
#1F032F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.085 H 310.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F032F |
|---|---|
| RGB | rgb(31, 3, 47) |
| HSL | hsl(278, 88%, 10%) |
| HSV | hsv(278, 94%, 18%) |
| CMYK | cmyk(34%, 93.6%, 0%, 81.6%) |
| CIE-LAB | lab(5.07, 22.62, -22.27) |
| CIE-LCH | lch(5.07, 31.74, 315.46°) |
| OKLab | oklab(18.9% 0.0549 -0.0654) |
| OKLCH | oklch(18.9% 0.085 310) |
| XYZ | xyz(1.1106, 0.5617, 2.7387) |
| Luminance | 0.0056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.25
Very Dark Purple
#2A0134
ΔE00 3.41
Dark Purple
#35063E
ΔE00 5.36
Dark Violet
#34013F
ΔE00 5.66
Deep Purple
#36013F
ΔE00 5.98
Eggplant
#380835
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F032F #132F03
analogous
#09032F #1F032F #2F0329
triadic
#1F032F #2F1F03 #032F1F
tetradic
#1F032F #2F0903 #132F03 #03292F
square
#1F032F #2F0903 #132F03 #03292F
split-complementary
#1F032F #292F03 #032F09
monochromatic
#13021D #13021D #1F032F #450769 #6B0AA2
Accessibility & contrast
On white
18.88
#1F032F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#1F032F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F032F
18.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F032F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F032F | 1.00 | 18.88 | 1.11 | 18.88 |
| #FFFFFF | 18.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#1D0D18
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #1f032f; /* rgb */ color: rgb(31, 3, 47); /* oklch */ color: oklch(18.9% 0.085 310.0);
Tailwind
colors: {
custom: {
50: '#5c4768',
500: '#1f032f',
950: '#000000',
},
}SCSS
$custom: #1f032f; $custom-light: #5c4768; $custom-dark: #000000;
JSON
{
"hex": "#1f032f",
"rgb": {
"r": 31,
"g": 3,
"b": 47
},
"hsl": {
"h": 278.182,
"s": 88,
"l": 9.804
},
"oklch": {
"l": 0.18897,
"c": 0.08543,
"h": 310
},
"luminance": 0.00562
}Semantic roles & 50–950 ramp
primary
#1F032F
secondary
#3B731B
accent
#FE2A77
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A