#08050D#08050D

#08050D is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.6% C 0.021 H 303.4°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#08050D
RGBrgb(8, 5, 13)
HSLhsl(263, 44%, 4%)
HSVhsv(263, 62%, 5%)
CMYKcmyk(38.5%, 61.5%, 0%, 94.9%)
CIE-LABlab(1.71, 1.93, -2.85)
CIE-LCHlch(1.71, 3.44, 304.13°)
OKLaboklab(12.57% 0.0114 -0.0173)
OKLCHoklch(12.57% 0.021 303.4)
XYZxyz(0.2270, 0.1892, 0.4053)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050D #0A0D05
analogous
#05060D #08050D #0C050D
triadic
#08050D #0D0805 #050D08
tetradic
#08050D #0D0506 #0A0D05 #050D0C
square
#08050D #0D0506 #0A0D05 #050D0C
split-complementary
#08050D #0D0C05 #060D05
monochromatic
#0E0916 #0E0916 #0E0916 #231639 #3E2765

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08050D#FFFFFF#000000##FFFFFF
##08050D1.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)
#04060D
Deuteranopia (green-blind)
#04060D
Tritanopia (blue-blind)
#070608
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #08050d;
/* rgb */ color: rgb(8, 5, 13);
/* oklch */ color: oklch(12.6% 0.021 303.4);
Tailwind
colors: {
  custom: {
    50: '#4a494d',
    500: '#08050d',
    950: '#000000',
  },
}
SCSS
$custom: #08050d;
$custom-light: #4a494d;
$custom-dark: #000000;
JSON
{
  "hex": "#08050d",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 13
  },
  "hsl": {
    "h": 262.5,
    "s": 44.444,
    "l": 3.529
  },
  "oklch": {
    "l": 0.12567,
    "c": 0.02074,
    "h": 303.4
  },
  "luminance": 0.00189
}

Semantic roles & 50–950 ramp

primary
#08050D
secondary
#3B4826
accent
#D454A4
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050D

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

Preview Lab → · Contrast checker → · Palette generator →

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