#08020A#08020A

#08020A is a very dark, muted purple. Relative luminance 0.001; OKLCH L 10.9% C 0.030 H 320.1°. Best body text is #FFFFFF at 20.52:1 contrast (WCAG AA passes).

Color values

HEX#08020A
RGBrgb(8, 2, 10)
HSLhsl(285, 67%, 2%)
HSVhsv(285, 80%, 4%)
CMYKcmyk(20%, 80%, 0%, 96.1%)
CIE-LABlab(1.06, 2.68, -2.47)
CIE-LCHlch(1.06, 3.65, 317.27°)
OKLaboklab(10.9% 0.0231 -0.0193)
OKLCHoklch(10.9% 0.03 320.1)
XYZxyz(0.1766, 0.1170, 0.3004)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08020A #040A02
analogous
#04020A #08020A #0A0208
triadic
#08020A #0A0802 #020A08
tetradic
#08020A #0A0402 #040A02 #02080A
square
#08020A #0A0402 #040A02 #02080A
split-complementary
#08020A #080A02 #020A04
monochromatic
#14051A #14051A #14051A #310C3D #5A1670

Accessibility & contrast

On white

20.52
#08020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#08020A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08020A
20.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08020A#FFFFFF#000000##FFFFFF
##08020A1.0020.521.0220.52
#FFFFFF20.521.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01030A
Deuteranopia (green-blind)
#02040A
Tritanopia (blue-blind)
#080304
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #08020a;
/* rgb */ color: rgb(8, 2, 10);
/* oklch */ color: oklch(10.9% 0.030 320.1);
Tailwind
colors: {
  custom: {
    50: '#4a484b',
    500: '#08020a',
    950: '#000000',
  },
}
SCSS
$custom: #08020a;
$custom-light: #4a484b;
$custom-dark: #000000;
JSON
{
  "hex": "#08020a",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 2.353
  },
  "oklch": {
    "l": 0.10904,
    "c": 0.03016,
    "h": 320.1
  },
  "luminance": 0.00117
}

Semantic roles & 50–950 ramp

primary
#08020A
secondary
#284C1C
accent
#EA3E69
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08020A

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

Preview Lab → · Contrast checker → · Palette generator →

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