#080508#080508

#080508 is a very dark, near-neutral purple. Relative luminance 0.002; OKLCH L 12.2% C 0.011 H 326.3°. Best body text is #FFFFFF at 20.28:1 contrast (WCAG AA passes).

Color values

HEX#080508
RGBrgb(8, 5, 8)
HSLhsl(300, 23%, 3%)
HSVhsv(300, 38%, 3%)
CMYKcmyk(0%, 37.5%, 0%, 96.9%)
CIE-LABlab(1.61, 1.20, -0.86)
CIE-LCHlch(1.61, 1.48, 324.43°)
OKLaboklab(12.24% 0.0092 -0.0061)
OKLCHoklch(12.24% 0.011 326.3)
XYZxyz(0.1982, 0.1777, 0.2535)
Luminance0.0018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080508 #050805
analogous
#060508 #080508 #080506
triadic
#080508 #080805 #050808
tetradic
#080508 #080605 #050805 #050608
square
#080508 #080605 #050805 #050608
split-complementary
#080508 #060805 #050806
monochromatic
#130C13 #130C13 #130C13 #2E1D2E #533453

Accessibility & contrast

On white

20.28
#080508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#080508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080508
20.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080508#FFFFFF#000000##FFFFFF
##0805081.0020.281.0420.28
#FFFFFF20.281.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050608
Deuteranopia (green-blind)
#050608
Tritanopia (blue-blind)
#080506
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #080508;
/* rgb */ color: rgb(8, 5, 8);
/* oklch */ color: oklch(12.2% 0.011 326.3);
Tailwind
colors: {
  custom: {
    50: '#4a494a',
    500: '#080508',
    950: '#000000',
  },
}
SCSS
$custom: #080508;
$custom-light: #4a494a;
$custom-dark: #000000;
JSON
{
  "hex": "#080508",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 300,
    "s": 23.077,
    "l": 2.549
  },
  "oklch": {
    "l": 0.12241,
    "c": 0.01102,
    "h": 326.3
  },
  "luminance": 0.00178
}

Semantic roles & 50–950 ramp

primary
#080508
secondary
#2C3D2C
accent
#C06868
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #080508

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

Preview Lab → · Contrast checker → · Palette generator →

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