#080021#080021

#080021 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.7% C 0.073 H 288.4°. Best body text is #FFFFFF at 20.34:1 contrast (WCAG AA passes).

Color values

HEX#080021
RGBrgb(8, 0, 33)
HSLhsl(255, 100%, 6%)
HSVhsv(255, 100%, 13%)
CMYKcmyk(75.8%, 100%, 0%, 87.1%)
CIE-LABlab(1.46, 9.06, -17.31)
CIE-LCHlch(1.46, 19.53, 297.64°)
OKLaboklab(12.71% 0.0229 -0.0689)
OKLCHoklch(12.71% 0.073 288.4)
XYZxyz(0.3746, 0.1614, 1.4500)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080021 #192100
analogous
#000921 #080021 #190021
triadic
#080021 #210800 #002108
tetradic
#080021 #210009 #192100 #002119
square
#080021 #210009 #192100 #002119
split-complementary
#080021 #211900 #092100
monochromatic
#07001F #07001F #080021 #17005E #26009B

Accessibility & contrast

On white

20.34
#080021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080021
20.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080021#FFFFFF#000000##FFFFFF
##0800211.0020.341.0320.34
#FFFFFF20.341.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000622
Deuteranopia (green-blind)
#000520
Tritanopia (blue-blind)
#01070F
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080021;
/* rgb */ color: rgb(8, 0, 33);
/* oklch */ color: oklch(12.7% 0.073 288.4);
Tailwind
colors: {
  custom: {
    50: '#4a475c',
    500: '#080021',
    950: '#000000',
  },
}
SCSS
$custom: #080021;
$custom-light: #4a475c;
$custom-dark: #000000;
JSON
{
  "hex": "#080021",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 254.545,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.12705,
    "c": 0.07261,
    "h": 288.4
  },
  "luminance": 0.00161
}

Semantic roles & 50–950 ramp

primary
#080021
secondary
#556A13
accent
#FF29CB
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #080021

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

Preview Lab → · Contrast checker → · Palette generator →

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