#08050C#08050C

#08050C is a very dark, near-neutral violet. Relative luminance 0.002; OKLCH L 12.5% C 0.019 H 306.1°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#08050C
RGBrgb(8, 5, 12)
HSLhsl(266, 41%, 3%)
HSVhsv(266, 58%, 5%)
CMYKcmyk(33.3%, 58.3%, 0%, 95.3%)
CIE-LABlab(1.69, 1.78, -2.42)
CIE-LCHlch(1.69, 3.00, 306.31°)
OKLaboklab(12.5% 0.011 -0.0151)
OKLCHoklch(12.5% 0.019 306.1)
XYZxyz(0.2208, 0.1867, 0.3722)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050C #090C05
analogous
#05050C #08050C #0B050C
triadic
#08050C #0C0805 #050C08
tetradic
#08050C #0C0505 #090C05 #050C0B
square
#08050C #0C0505 #090C05 #050C0B
split-complementary
#08050C #0C0B05 #050C05
monochromatic
#0E0916 #0E0916 #0E0916 #251737 #422962

Accessibility & contrast

On white

20.24
#08050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08050C
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08050C#FFFFFF#000000##FFFFFF
##08050C1.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060C
Deuteranopia (green-blind)
#04060C
Tritanopia (blue-blind)
#070607
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #08050c;
/* rgb */ color: rgb(8, 5, 12);
/* oklch */ color: oklch(12.5% 0.019 306.1);
Tailwind
colors: {
  custom: {
    50: '#4a494c',
    500: '#08050c',
    950: '#000000',
  },
}
SCSS
$custom: #08050c;
$custom-light: #4a494c;
$custom-dark: #000000;
JSON
{
  "hex": "#08050c",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 265.714,
    "s": 41.176,
    "l": 3.333
  },
  "oklch": {
    "l": 0.12497,
    "c": 0.01875,
    "h": 306.1
  },
  "luminance": 0.00187
}

Semantic roles & 50–950 ramp

primary
#08050C
secondary
#394627
accent
#D1579D
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050C

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

Preview Lab → · Contrast checker → · Palette generator →

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