#08060B#08060B

#08060B is a very dark, near-neutral violet. Relative luminance 0.002; OKLCH L 12.8% C 0.013 H 304.8°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#08060B
RGBrgb(8, 6, 11)
HSLhsl(264, 29%, 3%)
HSVhsv(264, 45%, 4%)
CMYKcmyk(27.3%, 45.5%, 0%, 95.7%)
CIE-LABlab(1.86, 1.23, -1.72)
CIE-LCHlch(1.86, 2.11, 305.49°)
OKLaboklab(12.84% 0.0074 -0.0107)
OKLCHoklch(12.84% 0.013 304.8)
XYZxyz(0.2257, 0.2060, 0.3444)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08060B #090B06
analogous
#06060B #08060B #0A060B
triadic
#08060B #0B0806 #060B08
tetradic
#08060B #0B0606 #090B06 #060B0A
square
#08060B #0B0606 #090B06 #060B0A
split-complementary
#08060B #0B0A06 #060B06
monochromatic
#0E0B14 #0E0B14 #0E0B14 #251C33 #42315A

Accessibility & contrast

On white

20.17
#08060B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08060B
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08060B#FFFFFF#000000##FFFFFF
##08060B1.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05070B
Deuteranopia (green-blind)
#06070B
Tritanopia (blue-blind)
#080708
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08060b;
/* rgb */ color: rgb(8, 6, 11);
/* oklch */ color: oklch(12.8% 0.013 304.8);
Tailwind
colors: {
  custom: {
    50: '#4a494c',
    500: '#08060b',
    950: '#000000',
  },
}
SCSS
$custom: #08060b;
$custom-light: #4a494c;
$custom-dark: #000000;
JSON
{
  "hex": "#08060b",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 11
  },
  "hsl": {
    "h": 264,
    "s": 29.412,
    "l": 3.333
  },
  "oklch": {
    "l": 0.12843,
    "c": 0.01298,
    "h": 304.8
  },
  "luminance": 0.00206
}

Semantic roles & 50–950 ramp

primary
#08060B
secondary
#39422B
accent
#C6629E
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08060B

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

Preview Lab → · Contrast checker → · Palette generator →

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