#06001B#06001B

#06001B is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 11.4% C 0.065 H 289.1°. Best body text is #FFFFFF at 20.52:1 contrast (WCAG AA passes).

Color values

HEX#06001B
RGBrgb(6, 0, 27)
HSLhsl(253, 100%, 5%)
HSVhsv(253, 100%, 11%)
CMYKcmyk(77.8%, 100%, 0%, 89.4%)
CIE-LABlab(1.06, 6.59, -13.08)
CIE-LCHlch(1.06, 14.65, 296.74°)
OKLaboklab(11.44% 0.0213 -0.0615)
OKLCHoklch(11.44% 0.065 289.1)
XYZxyz(0.2729, 0.1178, 1.0451)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06001B #151B00
analogous
#00071B #06001B #13001B
triadic
#06001B #1B0600 #001B06
tetradic
#06001B #1B0007 #151B00 #001B13
square
#06001B #1B0007 #151B00 #001B13
split-complementary
#06001B #1B1300 #071B00
monochromatic
#07001F #07001F #07001F #140058 #210095

Accessibility & contrast

On white

20.52
#06001B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#06001B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06001B
20.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06001B#FFFFFF#000000##FFFFFF
##06001B1.0020.521.0220.52
#FFFFFF20.521.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00041C
Deuteranopia (green-blind)
#00031A
Tritanopia (blue-blind)
#01050B
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #06001b;
/* rgb */ color: rgb(6, 0, 27);
/* oklch */ color: oklch(11.4% 0.065 289.1);
Tailwind
colors: {
  custom: {
    50: '#494757',
    500: '#06001b',
    950: '#000000',
  },
}
SCSS
$custom: #06001b;
$custom-light: #494757;
$custom-dark: #000000;
JSON
{
  "hex": "#06001b",
  "rgb": {
    "r": 6,
    "g": 0,
    "b": 27
  },
  "hsl": {
    "h": 253.333,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.11437,
    "c": 0.06507,
    "h": 289.1
  },
  "luminance": 0.00118
}

Semantic roles & 50–950 ramp

primary
#06001B
secondary
#536512
accent
#FF29CF
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #06001B

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

Preview Lab → · Contrast checker → · Palette generator →

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