#08060D#08060D

#08060D is a very dark, near-neutral violet. Relative luminance 0.002; OKLCH L 13.0% C 0.017 H 298.9°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#08060D
RGBrgb(8, 6, 13)
HSLhsl(257, 37%, 4%)
HSVhsv(257, 54%, 5%)
CMYKcmyk(38.5%, 53.8%, 0%, 94.9%)
CIE-LABlab(1.91, 1.53, -2.56)
CIE-LCHlch(1.91, 2.99, 300.89°)
OKLaboklab(12.97% 0.0083 -0.015)
OKLCHoklch(12.97% 0.017 298.9)
XYZxyz(0.2379, 0.2109, 0.4089)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08060D #0B0D06
analogous
#06070D #08060D #0B060D
triadic
#08060D #0D0806 #060D08
tetradic
#08060D #0D0607 #0B0D06 #060D0B
square
#08060D #0D0607 #0B0D06 #060D0B
split-complementary
#08060D #0D0B06 #070D06
monochromatic
#0D0A15 #0D0A15 #0D0A15 #221937 #3C2D61

Accessibility & contrast

On white

20.15
#08060D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08060D
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08060D#FFFFFF#000000##FFFFFF
##08060D1.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05070D
Deuteranopia (green-blind)
#05070D
Tritanopia (blue-blind)
#070708
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08060d;
/* rgb */ color: rgb(8, 6, 13);
/* oklch */ color: oklch(13.0% 0.017 298.9);
Tailwind
colors: {
  custom: {
    50: '#4a494d',
    500: '#08060d',
    950: '#000000',
  },
}
SCSS
$custom: #08060d;
$custom-light: #4a494d;
$custom-dark: #000000;
JSON
{
  "hex": "#08060d",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 13
  },
  "hsl": {
    "h": 257.143,
    "s": 36.842,
    "l": 3.725
  },
  "oklch": {
    "l": 0.12971,
    "c": 0.01712,
    "h": 298.9
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#08060D
secondary
#3E4629
accent
#CD5BAC
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08060D

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

Preview Lab → · Contrast checker → · Palette generator →

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