#080217#080217

#080217 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.2% C 0.051 H 295.6°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#080217
RGBrgb(8, 2, 23)
HSLhsl(257, 84%, 5%)
HSVhsv(257, 91%, 9%)
CMYKcmyk(65.2%, 91.3%, 0%, 91%)
CIE-LABlab(1.42, 5.22, -9.37)
CIE-LCHlch(1.42, 10.73, 299.10°)
OKLaboklab(12.21% 0.022 -0.046)
OKLCHoklch(12.21% 0.051 295.6)
XYZxyz(0.2765, 0.1569, 0.8262)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080217 #111702
analogous
#020717 #080217 #130217
triadic
#080217 #170802 #021708
tetradic
#080217 #170207 #111702 #021713
square
#080217 #170207 #111702 #021713
split-complementary
#080217 #171302 #071702
monochromatic
#0A021C #0A021C #0A021C #1C074F #2F0C88

Accessibility & contrast

On white

20.36
#080217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080217
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080217#FFFFFF#000000##FFFFFF
##0802171.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000518
Deuteranopia (green-blind)
#000517
Tritanopia (blue-blind)
#05050A
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080217;
/* rgb */ color: rgb(8, 2, 23);
/* oklch */ color: oklch(12.2% 0.051 295.6);
Tailwind
colors: {
  custom: {
    50: '#4a4753',
    500: '#080217',
    950: '#000000',
  },
}
SCSS
$custom: #080217;
$custom-light: #4a4753;
$custom-dark: #000000;
JSON
{
  "hex": "#080217",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 257.143,
    "s": 84,
    "l": 4.902
  },
  "oklch": {
    "l": 0.1221,
    "c": 0.05095,
    "h": 295.6
  },
  "luminance": 0.00157
}

Semantic roles & 50–950 ramp

primary
#080217
secondary
#495D18
accent
#FA2EC0
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080217

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

Preview Lab → · Contrast checker → · Palette generator →

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