#080020#080020

#080020 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.6% C 0.071 H 289.3°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#080020
RGBrgb(8, 0, 32)
HSLhsl(255, 100%, 6%)
HSVhsv(255, 100%, 13%)
CMYKcmyk(75%, 100%, 0%, 87.5%)
CIE-LABlab(1.41, 8.71, -16.59)
CIE-LCHlch(1.41, 18.73, 297.71°)
OKLaboklab(12.56% 0.0236 -0.0673)
OKLCHoklch(12.56% 0.071 289.3)
XYZxyz(0.3608, 0.1559, 1.3773)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080020 #182000
analogous
#000820 #080020 #180020
triadic
#080020 #200800 #002008
tetradic
#080020 #200008 #182000 #002018
square
#080020 #200008 #182000 #002018
split-complementary
#080020 #201800 #082000
monochromatic
#08001F #08001F #080020 #17005D #27009A

Accessibility & contrast

On white

20.36
#080020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080020
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080020#FFFFFF#000000##FFFFFF
##0800201.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000621
Deuteranopia (green-blind)
#00041F
Tritanopia (blue-blind)
#02060E
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080020;
/* rgb */ color: rgb(8, 0, 32);
/* oklch */ color: oklch(12.6% 0.071 289.3);
Tailwind
colors: {
  custom: {
    50: '#4a475b',
    500: '#080020',
    950: '#000000',
  },
}
SCSS
$custom: #080020;
$custom-light: #4a475b;
$custom-dark: #000000;
JSON
{
  "hex": "#080020",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 32
  },
  "hsl": {
    "h": 255,
    "s": 100,
    "l": 6.275
  },
  "oklch": {
    "l": 0.12555,
    "c": 0.07134,
    "h": 289.3
  },
  "luminance": 0.00156
}

Semantic roles & 50–950 ramp

primary
#080020
secondary
#546913
accent
#FF29C9
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #080020

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

Preview Lab → · Contrast checker → · Palette generator →

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