#08050B#08050B

#08050B is a very dark, near-neutral violet. Relative luminance 0.002; OKLCH L 12.4% C 0.017 H 309.4°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#08050B
RGBrgb(8, 5, 11)
HSLhsl(270, 38%, 3%)
HSVhsv(270, 55%, 4%)
CMYKcmyk(27.3%, 54.5%, 0%, 95.7%)
CIE-LABlab(1.66, 1.62, -2.00)
CIE-LCHlch(1.66, 2.58, 309.00°)
OKLaboklab(12.43% 0.0106 -0.013)
OKLCHoklch(12.43% 0.017 309.4)
XYZxyz(0.2148, 0.1843, 0.3408)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050B #080B05
analogous
#05050B #08050B #0B050B
triadic
#08050B #0B0805 #050B08
tetradic
#08050B #0B0505 #080B05 #050B0B
square
#08050B #0B0505 #080B05 #050B0B
split-complementary
#08050B #0B0B05 #050B05
monochromatic
#0F0A15 #0F0A15 #0F0A15 #271835 #452B5F

Accessibility & contrast

On white

20.25
#08050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#08050B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08050B
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08050B#FFFFFF#000000##FFFFFF
##08050B1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060B
Deuteranopia (green-blind)
#05060B
Tritanopia (blue-blind)
#080607
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #08050b;
/* rgb */ color: rgb(8, 5, 11);
/* oklch */ color: oklch(12.4% 0.017 309.4);
Tailwind
colors: {
  custom: {
    50: '#4a494c',
    500: '#08050b',
    950: '#000000',
  },
}
SCSS
$custom: #08050b;
$custom-light: #4a494c;
$custom-dark: #000000;
JSON
{
  "hex": "#08050b",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 270,
    "s": 37.5,
    "l": 3.137
  },
  "oklch": {
    "l": 0.1243,
    "c": 0.01678,
    "h": 309.4
  },
  "luminance": 0.00184
}

Semantic roles & 50–950 ramp

primary
#08050B
secondary
#364428
accent
#CD5A94
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050B

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

Preview Lab → · Contrast checker → · Palette generator →

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