#080308#080308

#080308 is a very dark, muted purple. Relative luminance 0.001; OKLCH L 11.3% C 0.021 H 326.9°. Best body text is #FFFFFF at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#080308
RGBrgb(8, 3, 8)
HSLhsl(300, 45%, 2%)
HSVhsv(300, 63%, 3%)
CMYKcmyk(0%, 62.5%, 0%, 96.9%)
CIE-LABlab(1.21, 2.00, -1.43)
CIE-LCHlch(1.21, 2.46, 324.43°)
OKLaboklab(11.29% 0.0174 -0.0114)
OKLCHoklch(11.29% 0.021 326.9)
XYZxyz(0.1765, 0.1343, 0.2463)
Luminance0.0013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080308 #030803
analogous
#060308 #080308 #080306
triadic
#080308 #080803 #030808
tetradic
#080308 #080603 #030803 #030608
square
#080308 #080603 #030803 #030608
split-complementary
#080308 #060803 #030806
monochromatic
#160816 #160816 #160816 #351435 #612461

Accessibility & contrast

On white

20.45
#080308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080308
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080308#FFFFFF#000000##FFFFFF
##0803081.0020.451.0320.45
#FFFFFF20.451.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030408
Deuteranopia (green-blind)
#040508
Tritanopia (blue-blind)
#080305
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #080308;
/* rgb */ color: rgb(8, 3, 8);
/* oklch */ color: oklch(11.3% 0.021 326.9);
Tailwind
colors: {
  custom: {
    50: '#4a484a',
    500: '#080308',
    950: '#000000',
  },
}
SCSS
$custom: #080308;
$custom-light: #4a484a;
$custom-dark: #000000;
JSON
{
  "hex": "#080308",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 8
  },
  "hsl": {
    "h": 300,
    "s": 45.455,
    "l": 2.157
  },
  "oklch": {
    "l": 0.11285,
    "c": 0.02083,
    "h": 326.9
  },
  "luminance": 0.00134
}

Semantic roles & 50–950 ramp

primary
#080308
secondary
#234423
accent
#D55353
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #080308

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

Preview Lab → · Contrast checker → · Palette generator →

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