#080213#080213

#080213 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 11.8% C 0.045 H 301.0°. Best body text is #FFFFFF at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#080213
RGBrgb(8, 2, 19)
HSLhsl(261, 81%, 4%)
HSVhsv(261, 89%, 7%)
CMYKcmyk(57.9%, 89.5%, 0%, 92.5%)
CIE-LABlab(1.28, 4.27, -6.81)
CIE-LCHlch(1.28, 8.04, 302.12°)
OKLaboklab(11.76% 0.023 -0.0382)
OKLCHoklch(11.76% 0.045 301)
XYZxyz(0.2394, 0.1421, 0.6308)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080213 #0D1302
analogous
#020513 #080213 #110213
triadic
#080213 #130802 #021308
tetradic
#080213 #130205 #0D1302 #021311
square
#080213 #130205 #0D1302 #021311
split-complementary
#080213 #131102 #051302
monochromatic
#0C031C #0C031C #0C031C #1F084A #370E82

Accessibility & contrast

On white

20.42
#080213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080213
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080213#FFFFFF#000000##FFFFFF
##0802131.0020.421.0320.42
#FFFFFF20.421.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000514
Deuteranopia (green-blind)
#000513
Tritanopia (blue-blind)
#060408
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080213;
/* rgb */ color: rgb(8, 2, 19);
/* oklch */ color: oklch(11.8% 0.045 301.0);
Tailwind
colors: {
  custom: {
    50: '#4a4750',
    500: '#080213',
    950: '#000000',
  },
}
SCSS
$custom: #080213;
$custom-light: #4a4750;
$custom-dark: #000000;
JSON
{
  "hex": "#080213",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 261.176,
    "s": 80.952,
    "l": 4.118
  },
  "oklch": {
    "l": 0.1176,
    "c": 0.04461,
    "h": 301
  },
  "luminance": 0.00142
}

Semantic roles & 50–950 ramp

primary
#080213
secondary
#425818
accent
#F730B1
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080213

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

Preview Lab → · Contrast checker → · Palette generator →

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