#080220#080220

#080220 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.3% C 0.065 H 286.9°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#080220
RGBrgb(8, 2, 32)
HSLhsl(252, 88%, 7%)
HSVhsv(252, 94%, 13%)
CMYKcmyk(75%, 93.8%, 0%, 87.5%)
CIE-LABlab(1.80, 7.91, -15.99)
CIE-LCHlch(1.80, 17.84, 296.32°)
OKLaboklab(13.34% 0.0188 -0.0619)
OKLCHoklch(13.34% 0.065 286.9)
XYZxyz(0.3825, 0.1993, 1.3845)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080220 #1A2002
analogous
#020B20 #080220 #170220
triadic
#080220 #200802 #022008
tetradic
#080220 #20020B #1A2002 #022017
square
#080220 #20020B #1A2002 #022017
split-complementary
#080220 #201702 #0B2002
monochromatic
#07021D #07021D #080220 #16065A #250993

Accessibility & contrast

On white

20.20
#080220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080220
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080220#FFFFFF#000000##FFFFFF
##0802201.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000721
Deuteranopia (green-blind)
#00061F
Tritanopia (blue-blind)
#01080F
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080220;
/* rgb */ color: rgb(8, 2, 32);
/* oklch */ color: oklch(13.3% 0.065 286.9);
Tailwind
colors: {
  custom: {
    50: '#4a475b',
    500: '#080220',
    950: '#000000',
  },
}
SCSS
$custom: #080220;
$custom-light: #4a475b;
$custom-dark: #000000;
JSON
{
  "hex": "#080220",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 252,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.13337,
    "c": 0.06472,
    "h": 286.9
  },
  "luminance": 0.00199
}

Semantic roles & 50–950 ramp

primary
#080220
secondary
#566618
accent
#FE29D4
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080220

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

Preview Lab → · Contrast checker → · Palette generator →

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