#08060F#08060F

#08060F is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.1% C 0.021 H 295.1°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#08060F
RGBrgb(8, 6, 15)
HSLhsl(253, 43%, 4%)
HSVhsv(253, 60%, 6%)
CMYKcmyk(46.7%, 60%, 0%, 94.1%)
CIE-LABlab(1.95, 1.88, -3.50)
CIE-LCHlch(1.95, 3.97, 298.19°)
OKLaboklab(13.11% 0.009 -0.0193)
OKLCHoklch(13.11% 0.021 295.1)
XYZxyz(0.2515, 0.2164, 0.4804)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08060F #0D0F06
analogous
#06090F #08060F #0D060F
triadic
#08060F #0F0806 #060F08
tetradic
#08060F #0F0609 #0D0F06 #060F0D
square
#08060F #0F0609 #0D0F06 #060F0D
split-complementary
#08060F #0F0D06 #090F06
monochromatic
#0C0916 #0C0916 #0C0916 #1F173B #372966

Accessibility & contrast

On white

20.13
#08060F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08060F
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08060F#FFFFFF#000000##FFFFFF
##08060F1.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04070F
Deuteranopia (green-blind)
#05070F
Tritanopia (blue-blind)
#070709
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08060f;
/* rgb */ color: rgb(8, 6, 15);
/* oklch */ color: oklch(13.1% 0.021 295.1);
Tailwind
colors: {
  custom: {
    50: '#4a494e',
    500: '#08060f',
    950: '#000000',
  },
}
SCSS
$custom: #08060f;
$custom-light: #4a494e;
$custom-dark: #000000;
JSON
{
  "hex": "#08060f",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 15
  },
  "hsl": {
    "h": 253.333,
    "s": 42.857,
    "l": 4.118
  },
  "oklch": {
    "l": 0.13109,
    "c": 0.02129,
    "h": 295.1
  },
  "luminance": 0.00216
}

Semantic roles & 50–950 ramp

primary
#08060F
secondary
#424927
accent
#D355B7
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08060F

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

Preview Lab → · Contrast checker → · Palette generator →

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