#0B031F#0B031F
#0B031F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.0% C 0.060 H 292.6°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).
Color values
| HEX | #0B031F |
|---|---|
| RGB | rgb(11, 3, 31) |
| HSL | hsl(257, 82%, 7%) |
| HSV | hsv(257, 90%, 12%) |
| CMYK | cmyk(64.5%, 90.3%, 0%, 87.8%) |
| CIE-LAB | lab(2.12, 7.96, -14.69) |
| CIE-LCH | lch(2.12, 16.71, 298.45°) |
| OKLab | oklab(13.99% 0.0231 -0.0555) |
| OKLCH | oklch(13.99% 0.06 292.6) |
| XYZ | xyz(0.4178, 0.2352, 1.3194) |
| Luminance | 0.0024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 6.18
Dark Navy Blue
#00022E
ΔE00 6.54
Very Dark Blue
#000133
ΔE00 8.09
Dark Navy
#000435
ΔE00 8.24
Navy (survey)
#01153E
ΔE00 8.66
Midnight Blue (survey)
#020035
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B031F #171F03
analogous
#03091F #0B031F #19031F
triadic
#0B031F #1F0B03 #031F0B
tetradic
#0B031F #1F0309 #171F03 #031F19
square
#0B031F #1F0309 #171F03 #031F19
split-complementary
#0B031F #1F1903 #091F03
monochromatic
#0A031C #0A031C #0B031F #1F0857 #330E8F
Accessibility & contrast
On white
20.06
#0B031F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#0B031F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B031F
20.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B031F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B031F | 1.00 | 20.06 | 1.05 | 20.06 |
| #FFFFFF | 20.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000820
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#06090F
Achromatopsia (no color)
#080808
Design tokens & code
CSS
--color: #0b031f; /* rgb */ color: rgb(11, 3, 31); /* oklch */ color: oklch(14.0% 0.060 292.6);
Tailwind
colors: {
custom: {
50: '#4b485a',
500: '#0b031f',
950: '#000000',
},
}SCSS
$custom: #0b031f; $custom-light: #4b485a; $custom-dark: #000000;
JSON
{
"hex": "#0b031f",
"rgb": {
"r": 11,
"g": 3,
"b": 31
},
"hsl": {
"h": 257.143,
"s": 82.353,
"l": 6.667
},
"oklch": {
"l": 0.13985,
"c": 0.06008,
"h": 292.6
},
"luminance": 0.00235
}Semantic roles & 50–950 ramp
primary
#0B031F
secondary
#4E631B
accent
#F92FBF
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779