#06001F#06001F

#06001F is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 12.1% C 0.070 H 285.4°. Best body text is #FFFFFF at 20.44:1 contrast (WCAG AA passes).

Color values

HEX#06001F
RGBrgb(6, 0, 31)
HSLhsl(252, 100%, 6%)
HSVhsv(252, 100%, 12%)
CMYKcmyk(80.6%, 100%, 0%, 87.8%)
CIE-LABlab(1.24, 7.85, -16.05)
CIE-LCHlch(1.24, 17.86, 296.06°)
OKLaboklab(12.06% 0.0186 -0.0677)
OKLCHoklch(12.06% 0.07 285.4)
XYZxyz(0.3224, 0.1376, 1.3056)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06001F #191F00
analogous
#00091F #06001F #15001F
triadic
#06001F #1F0600 #001F06
tetradic
#06001F #1F0009 #191F00 #001F15
square
#06001F #1F0009 #191F00 #001F15
split-complementary
#06001F #1F1500 #091F00
monochromatic
#06001F #06001F #06001F #12005C #1E0099

Accessibility & contrast

On white

20.44
#06001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#06001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06001F
20.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06001F#FFFFFF#000000##FFFFFF
##06001F1.0020.441.0320.44
#FFFFFF20.441.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000520
Deuteranopia (green-blind)
#00041E
Tritanopia (blue-blind)
#00060D
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #06001f;
/* rgb */ color: rgb(6, 0, 31);
/* oklch */ color: oklch(12.1% 0.070 285.4);
Tailwind
colors: {
  custom: {
    50: '#49475a',
    500: '#06001f',
    950: '#000000',
  },
}
SCSS
$custom: #06001f;
$custom-light: #49475a;
$custom-dark: #000000;
JSON
{
  "hex": "#06001f",
  "rgb": {
    "r": 6,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 251.613,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.12057,
    "c": 0.07027,
    "h": 285.4
  },
  "luminance": 0.00138
}

Semantic roles & 50–950 ramp

primary
#06001F
secondary
#586812
accent
#FF29D6
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #06001F

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

Preview Lab → · Contrast checker → · Palette generator →

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