#080418#080418

#080418 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.1% C 0.045 H 290.5°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#080418
RGBrgb(8, 4, 24)
HSLhsl(252, 71%, 5%)
HSVhsv(252, 83%, 9%)
CMYKcmyk(66.7%, 83.3%, 0%, 90.6%)
CIE-LABlab(1.85, 4.67, -9.51)
CIE-LCHlch(1.85, 10.59, 296.19°)
OKLaboklab(13.14% 0.0159 -0.0425)
OKLCHoklch(13.14% 0.045 290.5)
XYZxyz(0.3084, 0.2044, 0.8872)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080418 #141804
analogous
#040A18 #080418 #120418
triadic
#080418 #180804 #041808
tetradic
#080418 #18040A #141804 #041812
square
#080418 #18040A #141804 #041812
split-complementary
#080418 #181204 #0A1804
monochromatic
#09041A #09041A #09041A #190D4C #2B1581

Accessibility & contrast

On white

20.18
#080418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080418
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080418#FFFFFF#000000##FFFFFF
##0804181.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000719
Deuteranopia (green-blind)
#000618
Tritanopia (blue-blind)
#04080C
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080418;
/* rgb */ color: rgb(8, 4, 24);
/* oklch */ color: oklch(13.1% 0.045 290.5);
Tailwind
colors: {
  custom: {
    50: '#4a4854',
    500: '#080418',
    950: '#000000',
  },
}
SCSS
$custom: #080418;
$custom-light: #4a4854;
$custom-dark: #000000;
JSON
{
  "hex": "#080418",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.13138,
    "c": 0.04533,
    "h": 290.5
  },
  "luminance": 0.00204
}

Semantic roles & 50–950 ramp

primary
#080418
secondary
#4E5A1E
accent
#EE3ACA
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080418

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

Preview Lab → · Contrast checker → · Palette generator →

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