#06001C#06001C

#06001C is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 11.6% C 0.066 H 288.1°. Best body text is #FFFFFF at 20.50:1 contrast (WCAG AA passes).

Color values

HEX#06001C
RGBrgb(6, 0, 28)
HSLhsl(253, 100%, 5%)
HSVhsv(253, 100%, 11%)
CMYKcmyk(78.6%, 100%, 0%, 89%)
CIE-LABlab(1.11, 6.89, -13.83)
CIE-LCHlch(1.11, 15.45, 296.47°)
OKLaboklab(11.59% 0.0206 -0.0631)
OKLCHoklch(11.59% 0.066 288.1)
XYZxyz(0.2846, 0.1225, 1.1070)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06001C #161C00
analogous
#00081C #06001C #14001C
triadic
#06001C #1C0600 #001C06
tetradic
#06001C #1C0008 #161C00 #001C14
square
#06001C #1C0008 #161C00 #001C14
split-complementary
#06001C #1C1400 #081C00
monochromatic
#07001F #07001F #07001F #130059 #200096

Accessibility & contrast

On white

20.50
#06001C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06001C
20.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06001C#FFFFFF#000000##FFFFFF
##06001C1.0020.501.0220.50
#FFFFFF20.501.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06001c;
/* rgb */ color: rgb(6, 0, 28);
/* oklch */ color: oklch(11.6% 0.066 288.1);
Tailwind
colors: {
  custom: {
    50: '#494757',
    500: '#06001c',
    950: '#000000',
  },
}
SCSS
$custom: #06001c;
$custom-light: #494757;
$custom-dark: #000000;
JSON
{
  "hex": "#06001c",
  "rgb": {
    "r": 6,
    "g": 0,
    "b": 28
  },
  "hsl": {
    "h": 252.857,
    "s": 100,
    "l": 5.49
  },
  "oklch": {
    "l": 0.11591,
    "c": 0.06638,
    "h": 288.1
  },
  "luminance": 0.00123
}

Semantic roles & 50–950 ramp

primary
#06001C
secondary
#546612
accent
#FF29D1
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #06001C

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

Preview Lab → · Contrast checker → · Palette generator →

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