#08050E#08050E

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

Color values

HEX#08050E
RGBrgb(8, 5, 14)
HSLhsl(260, 47%, 4%)
HSVhsv(260, 64%, 5%)
CMYKcmyk(42.9%, 64.3%, 0%, 94.5%)
CIE-LABlab(1.73, 2.10, -3.31)
CIE-LCHlch(1.73, 3.92, 302.44°)
OKLaboklab(12.64% 0.0118 -0.0195)
OKLCHoklch(12.64% 0.023 301.1)
XYZxyz(0.2337, 0.1919, 0.4401)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050E #0B0E05
analogous
#05060E #08050E #0C050E
triadic
#08050E #0E0805 #050E08
tetradic
#08050E #0E0506 #0B0E05 #050E0C
square
#08050E #0E0506 #0B0E05 #050E0C
split-complementary
#08050E #0E0C05 #060E05
monochromatic
#0D0817 #0D0817 #0D0817 #22153B #3C2568

Accessibility & contrast

On white

20.22
#08050E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08050E
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08050E#FFFFFF#000000##FFFFFF
##08050E1.0020.221.0420.22
#FFFFFF20.221.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08050e;
/* rgb */ color: rgb(8, 5, 14);
/* oklch */ color: oklch(12.6% 0.023 301.1);
Tailwind
colors: {
  custom: {
    50: '#4a494d',
    500: '#08050e',
    950: '#000000',
  },
}
SCSS
$custom: #08050e;
$custom-light: #4a494d;
$custom-dark: #000000;
JSON
{
  "hex": "#08050e",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 14
  },
  "hsl": {
    "h": 260,
    "s": 47.368,
    "l": 3.725
  },
  "oklch": {
    "l": 0.12639,
    "c": 0.02275,
    "h": 301.1
  },
  "luminance": 0.00192
}

Semantic roles & 50–950 ramp

primary
#08050E
secondary
#3E4A25
accent
#D751AA
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050E

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

Preview Lab → · Contrast checker → · Palette generator →

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