#080221#080221

#080221 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.5% C 0.066 H 286.1°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#080221
RGBrgb(8, 2, 33)
HSLhsl(252, 89%, 7%)
HSVhsv(252, 94%, 13%)
CMYKcmyk(75.8%, 93.9%, 0%, 87.1%)
CIE-LABlab(1.85, 8.26, -16.71)
CIE-LCHlch(1.85, 18.64, 296.31°)
OKLaboklab(13.47% 0.0184 -0.0636)
OKLCHoklch(13.47% 0.066 286.1)
XYZxyz(0.3963, 0.2048, 1.4572)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080221 #1B2102
analogous
#020C21 #080221 #180221
triadic
#080221 #210802 #022108
tetradic
#080221 #21020C #1B2102 #022118
square
#080221 #21020C #1B2102 #022118
split-complementary
#080221 #211802 #0C2102
monochromatic
#07021D #07021D #080221 #16055B #240994

Accessibility & contrast

On white

20.17
#080221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080221
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080221#FFFFFF#000000##FFFFFF
##0802211.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000722
Deuteranopia (green-blind)
#000620
Tritanopia (blue-blind)
#010910
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080221;
/* rgb */ color: rgb(8, 2, 33);
/* oklch */ color: oklch(13.5% 0.066 286.1);
Tailwind
colors: {
  custom: {
    50: '#4a475c',
    500: '#080221',
    950: '#000000',
  },
}
SCSS
$custom: #080221;
$custom-light: #4a475c;
$custom-dark: #000000;
JSON
{
  "hex": "#080221",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 251.613,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13469,
    "c": 0.0662,
    "h": 286.1
  },
  "luminance": 0.00205
}

Semantic roles & 50–950 ramp

primary
#080221
secondary
#576718
accent
#FF29D5
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080221

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

Preview Lab → · Contrast checker → · Palette generator →

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