#08060C#08060C

#08060C is a very dark, near-neutral violet. Relative luminance 0.002; OKLCH L 12.9% C 0.015 H 301.5°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#08060C
RGBrgb(8, 6, 12)
HSLhsl(260, 33%, 4%)
HSVhsv(260, 50%, 5%)
CMYKcmyk(33.3%, 50%, 0%, 95.3%)
CIE-LABlab(1.88, 1.37, -2.13)
CIE-LCHlch(1.88, 2.53, 302.81°)
OKLaboklab(12.91% 0.0079 -0.0128)
OKLCHoklch(12.91% 0.015 301.5)
XYZxyz(0.2316, 0.2084, 0.3758)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08060C #0A0C06
analogous
#06070C #08060C #0B060C
triadic
#08060C #0C0806 #060C08
tetradic
#08060C #0C0607 #0A0C06 #060C0B
square
#08060C #0C0607 #0A0C06 #060C0B
split-complementary
#08060C #0C0B06 #070C06
monochromatic
#0E0A14 #0E0A14 #0E0A14 #231A35 #3E2F5E

Accessibility & contrast

On white

20.16
#08060C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08060C
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08060C#FFFFFF#000000##FFFFFF
##08060C1.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08060c;
/* rgb */ color: rgb(8, 6, 12);
/* oklch */ color: oklch(12.9% 0.015 301.5);
Tailwind
colors: {
  custom: {
    50: '#4a494c',
    500: '#08060c',
    950: '#000000',
  },
}
SCSS
$custom: #08060c;
$custom-light: #4a494c;
$custom-dark: #000000;
JSON
{
  "hex": "#08060c",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 12
  },
  "hsl": {
    "h": 260,
    "s": 33.333,
    "l": 3.529
  },
  "oklch": {
    "l": 0.12906,
    "c": 0.01504,
    "h": 301.5
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#08060C
secondary
#3B442A
accent
#C95EA6
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08060C

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

Preview Lab → · Contrast checker → · Palette generator →

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