#080416#080416

#080416 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.9% C 0.042 H 292.5°. Best body text is #FFFFFF at 20.21:1 contrast (WCAG AA passes).

Color values

HEX#080416
RGBrgb(8, 4, 22)
HSLhsl(253, 69%, 5%)
HSVhsv(253, 82%, 9%)
CMYKcmyk(63.6%, 81.8%, 0%, 91.4%)
CIE-LABlab(1.77, 4.16, -8.12)
CIE-LCHlch(1.77, 9.13, 297.14°)
OKLaboklab(12.93% 0.016 -0.0385)
OKLCHoklch(12.93% 0.042 292.5)
XYZxyz(0.2883, 0.1964, 0.7816)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080416 #121604
analogous
#040916 #080416 #110416
triadic
#080416 #160804 #041608
tetradic
#080416 #160409 #121604 #041611
square
#080416 #160409 #121604 #041611
split-complementary
#080416 #161104 #091604
monochromatic
#09051A #09051A #09051A #1B0D4A #2E177E

Accessibility & contrast

On white

20.21
#080416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080416
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080416#FFFFFF#000000##FFFFFF
##0804161.0020.211.0420.21
#FFFFFF20.211.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000717
Deuteranopia (green-blind)
#000616
Tritanopia (blue-blind)
#05070B
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #080416;
/* rgb */ color: rgb(8, 4, 22);
/* oklch */ color: oklch(12.9% 0.042 292.5);
Tailwind
colors: {
  custom: {
    50: '#4a4852',
    500: '#080416',
    950: '#000000',
  },
}
SCSS
$custom: #080416;
$custom-light: #4a4852;
$custom-dark: #000000;
JSON
{
  "hex": "#080416",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 22
  },
  "hsl": {
    "h": 253.333,
    "s": 69.231,
    "l": 5.098
  },
  "oklch": {
    "l": 0.12933,
    "c": 0.04172,
    "h": 292.5
  },
  "luminance": 0.00196
}

Semantic roles & 50–950 ramp

primary
#080416
secondary
#4B571E
accent
#EC3CC5
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080416

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

Preview Lab → · Contrast checker → · Palette generator →

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