#08020E#08020E

#08020E is a very dark, muted violet. Relative luminance 0.001; OKLCH L 11.3% C 0.037 H 309.9°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#08020E
RGBrgb(8, 2, 14)
HSLhsl(270, 75%, 3%)
HSVhsv(270, 86%, 5%)
CMYKcmyk(42.9%, 85.7%, 0%, 94.5%)
CIE-LABlab(1.15, 3.30, -4.17)
CIE-LCHlch(1.15, 5.32, 308.39°)
OKLaboklab(11.25% 0.0235 -0.028)
OKLCHoklch(11.25% 0.037 309.9)
XYZxyz(0.2011, 0.1268, 0.4293)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08020E #080E02
analogous
#02020E #08020E #0E020E
triadic
#08020E #0E0802 #020E08
tetradic
#08020E #0E0202 #080E02 #020E0E
square
#08020E #0E0202 #080E02 #020E0E
split-complementary
#08020E #0E0E02 #020E02
monochromatic
#0F041B #0F041B #0F041B #270A44 #451179

Accessibility & contrast

On white

20.48
#08020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#08020E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08020E
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08020E#FFFFFF#000000##FFFFFF
##08020E1.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00040E
Deuteranopia (green-blind)
#01040E
Tritanopia (blue-blind)
#070306
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #08020e;
/* rgb */ color: rgb(8, 2, 14);
/* oklch */ color: oklch(11.3% 0.037 309.9);
Tailwind
colors: {
  custom: {
    50: '#4a484d',
    500: '#08020e',
    950: '#000000',
  },
}
SCSS
$custom: #08020e;
$custom-light: #4a484d;
$custom-dark: #000000;
JSON
{
  "hex": "#08020e",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 3.137
  },
  "oklch": {
    "l": 0.11254,
    "c": 0.03654,
    "h": 309.9
  },
  "luminance": 0.00127
}

Semantic roles & 50–950 ramp

primary
#08020E
secondary
#36521A
accent
#F23694
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08020E

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

Preview Lab → · Contrast checker → · Palette generator →

#08020E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva