#080018#080018

#080018 is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 11.4% C 0.061 H 298.1°. Best body text is #FFFFFF at 20.52:1 contrast (WCAG AA passes).

Color values

HEX#080018
RGBrgb(8, 0, 24)
HSLhsl(260, 100%, 5%)
HSVhsv(260, 100%, 9%)
CMYKcmyk(66.7%, 100%, 0%, 90.6%)
CIE-LABlab(1.06, 6.28, -10.65)
CIE-LCHlch(1.06, 12.36, 300.51°)
OKLaboklab(11.4% 0.029 -0.0542)
OKLCHoklch(11.4% 0.061 298.1)
XYZxyz(0.2650, 0.1176, 0.8727)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080018 #101800
analogous
#000418 #080018 #140018
triadic
#080018 #180800 #001808
tetradic
#080018 #180004 #101800 #001814
square
#080018 #180004 #101800 #001814
split-complementary
#080018 #181400 #041800
monochromatic
#0A001F #0A001F #0A001F #1C0055 #310092

Accessibility & contrast

On white

20.52
#080018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#080018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080018
20.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080018#FFFFFF#000000##FFFFFF
##0800181.0020.521.0220.52
#FFFFFF20.521.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000419
Deuteranopia (green-blind)
#000417
Tritanopia (blue-blind)
#050409
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #080018;
/* rgb */ color: rgb(8, 0, 24);
/* oklch */ color: oklch(11.4% 0.061 298.1);
Tailwind
colors: {
  custom: {
    50: '#4a4754',
    500: '#080018',
    950: '#000000',
  },
}
SCSS
$custom: #080018;
$custom-light: #4a4754;
$custom-dark: #000000;
JSON
{
  "hex": "#080018",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 24
  },
  "hsl": {
    "h": 260,
    "s": 100,
    "l": 4.706
  },
  "oklch": {
    "l": 0.11395,
    "c": 0.06148,
    "h": 298.1
  },
  "luminance": 0.00118
}

Semantic roles & 50–950 ramp

primary
#080018
secondary
#476211
accent
#FF29B8
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#010002
muted
#777778

Preview Lab

Preview with #080018

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

Preview Lab → · Contrast checker → · Palette generator →

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