#080408#080408

#080408 is a very dark, near-neutral purple. Relative luminance 0.002; OKLCH L 11.8% C 0.016 H 326.5°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#080408
RGBrgb(8, 4, 8)
HSLhsl(300, 33%, 2%)
HSVhsv(300, 50%, 3%)
CMYKcmyk(0%, 50%, 0%, 96.9%)
CIE-LABlab(1.41, 1.60, -1.14)
CIE-LCHlch(1.41, 1.97, 324.46°)
OKLaboklab(11.78% 0.013 -0.0086)
OKLCHoklch(11.78% 0.016 326.5)
XYZxyz(0.1874, 0.1560, 0.2499)
Luminance0.0016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080408 #040804
analogous
#060408 #080408 #080406
triadic
#080408 #080804 #040808
tetradic
#080408 #080604 #040804 #040608
square
#080408 #080604 #040804 #040608
split-complementary
#080408 #060804 #040806
monochromatic
#140A14 #140A14 #140A14 #311831 #5A2D5A

Accessibility & contrast

On white

20.36
#080408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080408
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080408#FFFFFF#000000##FFFFFF
##0804081.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040508
Deuteranopia (green-blind)
#050508
Tritanopia (blue-blind)
#080405
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080408;
/* rgb */ color: rgb(8, 4, 8);
/* oklch */ color: oklch(11.8% 0.016 326.5);
Tailwind
colors: {
  custom: {
    50: '#4a484a',
    500: '#080408',
    950: '#000000',
  },
}
SCSS
$custom: #080408;
$custom-light: #4a484a;
$custom-dark: #000000;
JSON
{
  "hex": "#080408",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 2.353
  },
  "oklch": {
    "l": 0.11783,
    "c": 0.0156,
    "h": 326.5
  },
  "luminance": 0.00156
}

Semantic roles & 50–950 ramp

primary
#080408
secondary
#284028
accent
#C95E5E
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #080408

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

Preview Lab → · Contrast checker → · Palette generator →

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