#060408#060408

#060408 is a very dark, near-neutral violet. Relative luminance 0.001; OKLCH L 11.4% C 0.013 H 309.3°. Best body text is #FFFFFF at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#060408
RGBrgb(6, 4, 8)
HSLhsl(270, 33%, 2%)
HSVhsv(270, 50%, 3%)
CMYKcmyk(25%, 50%, 0%, 96.9%)
CIE-LABlab(1.29, 1.08, -1.33)
CIE-LCHlch(1.29, 1.71, 309.02°)
OKLaboklab(11.4% 0.0085 -0.0104)
OKLCHoklch(11.4% 0.013 309.3)
XYZxyz(0.1623, 0.1431, 0.2487)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060408 #060804
analogous
#040408 #060408 #080408
triadic
#060408 #080604 #040806
tetradic
#060408 #080404 #060804 #040808
square
#060408 #080404 #060804 #040808
split-complementary
#060408 #080804 #040804
monochromatic
#0F0A14 #0F0A14 #0F0A14 #251831 #432D5A

Accessibility & contrast

On white

20.42
#060408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#060408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060408
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060408#FFFFFF#000000##FFFFFF
##0604081.0020.421.0320.42
#FFFFFF20.421.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030508
Deuteranopia (green-blind)
#040508
Tritanopia (blue-blind)
#060405
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #060408;
/* rgb */ color: rgb(6, 4, 8);
/* oklch */ color: oklch(11.4% 0.013 309.3);
Tailwind
colors: {
  custom: {
    50: '#49484a',
    500: '#060408',
    950: '#000000',
  },
}
SCSS
$custom: #060408;
$custom-light: #49484a;
$custom-dark: #000000;
JSON
{
  "hex": "#060408",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 270,
    "s": 33.333,
    "l": 2.353
  },
  "oklch": {
    "l": 0.11402,
    "c": 0.01343,
    "h": 309.3
  },
  "luminance": 0.00143
}

Semantic roles & 50–950 ramp

primary
#060408
secondary
#344028
accent
#C95E94
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #060408

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

Preview Lab → · Contrast checker → · Palette generator →

#060408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva