#08050A#08050A

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

Color values

HEX#08050A
RGBrgb(8, 5, 10)
HSLhsl(276, 33%, 3%)
HSVhsv(276, 50%, 4%)
CMYKcmyk(20%, 50%, 0%, 96.1%)
CIE-LABlab(1.64, 1.48, -1.62)
CIE-LCHlch(1.64, 2.19, 312.49°)
OKLaboklab(12.37% 0.0102 -0.0108)
OKLCHoklch(12.37% 0.015 313.4)
XYZxyz(0.2092, 0.1821, 0.3112)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050A #070A05
analogous
#05050A #08050A #0A0509
triadic
#08050A #0A0805 #050A08
tetradic
#08050A #0A0505 #070A05 #05090A
square
#08050A #0A0505 #070A05 #05090A
split-complementary
#08050A #090A05 #050A05
monochromatic
#100A14 #100A14 #100A14 #291933 #492E5C

Accessibility & contrast

On white

20.26
#08050A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08050A
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08050A#FFFFFF#000000##FFFFFF
##08050A1.0020.261.0420.26
#FFFFFF20.261.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08050a;
/* rgb */ color: rgb(8, 5, 10);
/* oklch */ color: oklch(12.4% 0.015 313.4);
Tailwind
colors: {
  custom: {
    50: '#4a494b',
    500: '#08050a',
    950: '#000000',
  },
}
SCSS
$custom: #08050a;
$custom-light: #4a494b;
$custom-dark: #000000;
JSON
{
  "hex": "#08050a",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 10
  },
  "hsl": {
    "h": 276,
    "s": 33.333,
    "l": 2.941
  },
  "oklch": {
    "l": 0.12367,
    "c": 0.01485,
    "h": 313.4
  },
  "luminance": 0.00182
}

Semantic roles & 50–950 ramp

primary
#08050A
secondary
#334229
accent
#C95E89
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050A

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

Preview Lab → · Contrast checker → · Palette generator →

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