#080216#080216

#080216 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.1% C 0.049 H 296.8°. Best body text is #FFFFFF at 20.38:1 contrast (WCAG AA passes).

Color values

HEX#080216
RGBrgb(8, 2, 22)
HSLhsl(258, 83%, 5%)
HSVhsv(258, 91%, 9%)
CMYKcmyk(63.6%, 90.9%, 0%, 91.4%)
CIE-LABlab(1.38, 4.96, -8.69)
CIE-LCHlch(1.38, 10.01, 299.73°)
OKLaboklab(12.09% 0.0223 -0.0441)
OKLCHoklch(12.09% 0.049 296.8)
XYZxyz(0.2666, 0.1530, 0.7744)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080216 #101602
analogous
#020616 #080216 #120216
triadic
#080216 #160802 #021608
tetradic
#080216 #160206 #101602 #021612
square
#080216 #160206 #101602 #021612
split-complementary
#080216 #161202 #061602
monochromatic
#0A031C #0A031C #0A031C #1C074E #310C86

Accessibility & contrast

On white

20.38
#080216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080216
20.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080216#FFFFFF#000000##FFFFFF
##0802161.0020.381.0320.38
#FFFFFF20.381.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000517
Deuteranopia (green-blind)
#000516
Tritanopia (blue-blind)
#050509
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080216;
/* rgb */ color: rgb(8, 2, 22);
/* oklch */ color: oklch(12.1% 0.049 296.8);
Tailwind
colors: {
  custom: {
    50: '#4a4852',
    500: '#080216',
    950: '#000000',
  },
}
SCSS
$custom: #080216;
$custom-light: #4a4852;
$custom-dark: #000000;
JSON
{
  "hex": "#080216",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 258,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.12094,
    "c": 0.04939,
    "h": 296.8
  },
  "luminance": 0.00153
}

Semantic roles & 50–950 ramp

primary
#080216
secondary
#475C18
accent
#FA2EBD
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080216

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

Preview Lab → · Contrast checker → · Palette generator →

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