#0C080F#0C080F
#0C080F is a very dark, near-neutral violet. Relative luminance 0.003; OKLCH L 14.4% C 0.017 H 310.6°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).
Color values
| HEX | #0C080F |
|---|---|
| RGB | rgb(12, 8, 15) |
| HSL | hsl(274, 30%, 5%) |
| HSV | hsv(274, 47%, 6%) |
| CMYK | cmyk(20%, 46.7%, 0%, 94.1%) |
| CIE-LAB | lab(2.59, 2.15, -2.55) |
| CIE-LCH | lch(2.59, 3.34, 310.19°) |
| OKLab | oklab(14.37% 0.0108 -0.0126) |
| OKLCH | oklch(14.37% 0.017 310.6) |
| XYZ | xyz(0.3247, 0.2863, 0.4900) |
| Luminance | 0.0029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Black
#000000
ΔE00 4.05
Almost Black
#070D0D
ΔE00 5.68
Dark
#1B2431
ΔE00 9.73
Very Dark Brown
#1D0200
ΔE00 9.82
Dark Grey
#363737
ΔE00 13.78
Gunmetal
#2A3439
ΔE00 13.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C080F #0B0F08
analogous
#09080F #0C080F #0F080F
triadic
#0C080F #0F0C08 #080F0C
tetradic
#0C080F #0F0908 #0B0F08 #080F0F
square
#0C080F #0F0908 #0B0F08 #080F0F
split-complementary
#0C080F #0F0F08 #080F09
monochromatic
#100B14 #100B14 #100B14 #2C1D37 #4C335F
Accessibility & contrast
On white
19.86
#0C080F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#0C080F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C080F
19.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C080F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C080F | 1.00 | 19.86 | 1.06 | 19.86 |
| #FFFFFF | 19.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07090F
Deuteranopia (green-blind)
#080A0F
Tritanopia (blue-blind)
#0C090A
Achromatopsia (no color)
#090909
Design tokens & code
CSS
--color: #0c080f; /* rgb */ color: rgb(12, 8, 15); /* oklch */ color: oklch(14.4% 0.017 310.6);
Tailwind
colors: {
custom: {
50: '#4c4a4e',
500: '#0c080f',
950: '#000000',
},
}SCSS
$custom: #0c080f; $custom-light: #4c4a4e; $custom-dark: #000000;
JSON
{
"hex": "#0c080f",
"rgb": {
"r": 12,
"g": 8,
"b": 15
},
"hsl": {
"h": 274.286,
"s": 30.435,
"l": 4.51
},
"oklch": {
"l": 0.14367,
"c": 0.0166,
"h": 310.6
},
"luminance": 0.00286
}Semantic roles & 50–950 ramp
primary
#0C080F
secondary
#38462D
accent
#C7618D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777