#1F092F#1F092F
#1F092F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.074 H 307.6°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F092F |
|---|---|
| RGB | rgb(31, 9, 47) |
| HSL | hsl(275, 68%, 11%) |
| HSV | hsv(275, 81%, 18%) |
| CMYK | cmyk(34%, 80.9%, 0%, 81.6%) |
| CIE-LAB | lab(6.25, 19.73, -20.39) |
| CIE-LCH | lch(6.25, 28.37, 314.06°) |
| OKLab | oklab(19.95% 0.045 -0.0584) |
| OKLCH | oklch(19.95% 0.074 307.6) |
| XYZ | xyz(1.1757, 0.6919, 2.7604) |
| Luminance | 0.0069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Very Dark Purple
#2A0134
ΔE00 4.59
Midnight Purple
#280137
ΔE00 4.59
Dark Purple
#35063E
ΔE00 6.10
Dark Violet
#34013F
ΔE00 6.66
Eggplant
#380835
ΔE00 6.84
Deep Purple
#36013F
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F092F #192F09
analogous
#0C092F #1F092F #2F092C
triadic
#1F092F #2F1F09 #092F1F
tetradic
#1F092F #2F0C09 #192F09 #092C2F
square
#1F092F #2F0C09 #192F09 #092C2F
split-complementary
#1F092F #2C2F09 #092F0C
monochromatic
#11051A #11051A #1F092F #411362 #631D96
Accessibility & contrast
On white
18.45
#1F092F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#1F092F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F092F
18.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F092F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F092F | 1.00 | 18.45 | 1.14 | 18.45 |
| #FFFFFF | 18.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#1C111A
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #1f092f; /* rgb */ color: rgb(31, 9, 47); /* oklch */ color: oklch(19.9% 0.074 307.6);
Tailwind
colors: {
custom: {
50: '#5c4a68',
500: '#1f092f',
950: '#000000',
},
}SCSS
$custom: #1f092f; $custom-light: #5c4a68; $custom-dark: #000000;
JSON
{
"hex": "#1f092f",
"rgb": {
"r": 31,
"g": 9,
"b": 47
},
"hsl": {
"h": 274.737,
"s": 67.857,
"l": 10.98
},
"oklch": {
"l": 0.19947,
"c": 0.07376,
"h": 307.6
},
"luminance": 0.00692
}Semantic roles & 50–950 ramp
primary
#1F092F
secondary
#446D27
accent
#EB3D86
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A