#080222#080222

#080222 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.6% C 0.068 H 285.4°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#080222
RGBrgb(8, 2, 34)
HSLhsl(251, 89%, 7%)
HSVhsv(251, 94%, 13%)
CMYKcmyk(76.5%, 94.1%, 0%, 86.7%)
CIE-LABlab(1.90, 8.62, -17.42)
CIE-LCHlch(1.90, 19.44, 296.33°)
OKLaboklab(13.6% 0.0179 -0.0653)
OKLCHoklch(13.6% 0.068 285.4)
XYZxyz(0.4105, 0.2105, 1.5321)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080222 #1C2202
analogous
#020C22 #080222 #180222
triadic
#080222 #220802 #022208
tetradic
#080222 #22020C #1C2202 #022218
square
#080222 #22020C #1C2202 #022218
split-complementary
#080222 #221802 #0C2202
monochromatic
#07021D #07021D #080222 #16055C #230996

Accessibility & contrast

On white

20.15
#080222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080222
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080222#FFFFFF#000000##FFFFFF
##0802221.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000823
Deuteranopia (green-blind)
#000621
Tritanopia (blue-blind)
#000910
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080222;
/* rgb */ color: rgb(8, 2, 34);
/* oklch */ color: oklch(13.6% 0.068 285.4);
Tailwind
colors: {
  custom: {
    50: '#4a475d',
    500: '#080222',
    950: '#000000',
  },
}
SCSS
$custom: #080222;
$custom-light: #4a475d;
$custom-dark: #000000;
JSON
{
  "hex": "#080222",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 251.25,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13603,
    "c": 0.06768,
    "h": 285.4
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#080222
secondary
#596818
accent
#FF29D7
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080222

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

Preview Lab → · Contrast checker → · Palette generator →

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