#080212#080212

#080212 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 11.7% C 0.043 H 302.5°. Best body text is #FFFFFF at 20.43:1 contrast (WCAG AA passes).

Color values

HEX#080212
RGBrgb(8, 2, 18)
HSLhsl(263, 80%, 4%)
HSVhsv(263, 89%, 7%)
CMYKcmyk(55.6%, 88.9%, 0%, 92.9%)
CIE-LABlab(1.25, 4.06, -6.23)
CIE-LCHlch(1.25, 7.44, 303.09°)
OKLaboklab(11.65% 0.0231 -0.0363)
OKLCHoklch(11.65% 0.043 302.5)
XYZxyz(0.2310, 0.1387, 0.5868)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080212 #0C1202
analogous
#020412 #080212 #100212
triadic
#080212 #120802 #021208
tetradic
#080212 #120204 #0C1202 #021210
square
#080212 #120204 #0C1202 #021210
split-complementary
#080212 #121002 #041202
monochromatic
#0C031C #0C031C #0C031C #200849 #390E80

Accessibility & contrast

On white

20.43
#080212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#080212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080212
20.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080212#FFFFFF#000000##FFFFFF
##0802121.0020.431.0320.43
#FFFFFF20.431.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000413
Deuteranopia (green-blind)
#000512
Tritanopia (blue-blind)
#060407
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080212;
/* rgb */ color: rgb(8, 2, 18);
/* oklch */ color: oklch(11.7% 0.043 302.5);
Tailwind
colors: {
  custom: {
    50: '#4a474f',
    500: '#080212',
    950: '#000000',
  },
}
SCSS
$custom: #080212;
$custom-light: #4a474f;
$custom-dark: #000000;
JSON
{
  "hex": "#080212",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 262.5,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.11653,
    "c": 0.043,
    "h": 302.5
  },
  "luminance": 0.00139
}

Semantic roles & 50–950 ramp

primary
#080212
secondary
#405719
accent
#F631AD
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080212

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#080212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva