#08011B#08011B

#08011B is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.3% C 0.061 H 292.9°. Best body text is #FFFFFF at 20.38:1 contrast (WCAG AA passes).

Color values

HEX#08011B
RGBrgb(8, 1, 27)
HSLhsl(256, 93%, 5%)
HSVhsv(256, 96%, 11%)
CMYKcmyk(70.4%, 96.3%, 0%, 89.4%)
CIE-LABlab(1.38, 6.71, -12.61)
CIE-LCHlch(1.38, 14.28, 298.03°)
OKLaboklab(12.27% 0.0237 -0.0562)
OKLCHoklch(12.27% 0.061 292.9)
XYZxyz(0.3088, 0.1525, 1.0499)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08011B #141B01
analogous
#01071B #08011B #15011B
triadic
#08011B #1B0801 #011B08
tetradic
#08011B #1B0107 #141B01 #011B15
square
#08011B #1B0107 #141B01 #011B15
split-complementary
#08011B #1B1501 #071B01
monochromatic
#09011E #09011E #09011E #190356 #2B0591

Accessibility & contrast

On white

20.38
#08011B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#08011B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##08011B#FFFFFF#000000##FFFFFF
##08011B1.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)
#00051C
Deuteranopia (green-blind)
#00051A
Tritanopia (blue-blind)
#04060C
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #08011b;
/* rgb */ color: rgb(8, 1, 27);
/* oklch */ color: oklch(12.3% 0.061 292.9);
Tailwind
colors: {
  custom: {
    50: '#4a4757',
    500: '#08011b',
    950: '#000000',
  },
}
SCSS
$custom: #08011b;
$custom-light: #4a4757;
$custom-dark: #000000;
JSON
{
  "hex": "#08011b",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 27
  },
  "hsl": {
    "h": 256.154,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.12273,
    "c": 0.06094,
    "h": 292.9
  },
  "luminance": 0.00152
}

Semantic roles & 50–950 ramp

primary
#08011B
secondary
#4E6315
accent
#FF29C5
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010003
muted
#777778

Preview Lab

Preview with #08011B

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

Preview Lab → · Contrast checker → · Palette generator →

#08011B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva