#020006#020006

#020006 is a very dark, muted violet. Relative luminance 0.000; OKLCH L 6.9% C 0.036 H 302.9°. Best body text is #FFFFFF at 20.89:1 contrast (WCAG AA passes).

Color values

HEX#020006
RGBrgb(2, 0, 6)
HSLhsl(260, 100%, 1%)
HSVhsv(260, 100%, 2%)
CMYKcmyk(66.7%, 100%, 0%, 97.6%)
CIE-LABlab(0.24, 1.36, -2.09)
CIE-LCHlch(0.24, 2.49, 303.03°)
OKLaboklab(6.88% 0.0196 -0.0304)
OKLCHoklch(6.88% 0.036 302.9)
XYZxyz(0.0579, 0.0261, 0.1742)
Luminance0.0003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020006 #040600
analogous
#000106 #020006 #050006
triadic
#020006 #060200 #000602
tetradic
#020006 #060001 #040600 #000605
square
#020006 #060001 #040600 #000605
split-complementary
#020006 #060500 #010600
monochromatic
#0A001F #0A001F #0A001F #160043 #2B0080

Accessibility & contrast

On white

20.89
#020006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#020006 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020006
20.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020006#FFFFFF#000000##FFFFFF
##0200061.0020.891.0120.89
#FFFFFF20.891.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000106
Deuteranopia (green-blind)
#000106
Tritanopia (blue-blind)
#010102
Achromatopsia (no color)
#010101

Design tokens & code

CSS
--color: #020006;
/* rgb */ color: rgb(2, 0, 6);
/* oklch */ color: oklch(6.9% 0.036 302.9);
Tailwind
colors: {
  custom: {
    50: '#484749',
    500: '#020006',
    950: '#000000',
  },
}
SCSS
$custom: #020006;
$custom-light: #484749;
$custom-dark: #000000;
JSON
{
  "hex": "#020006",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 6
  },
  "hsl": {
    "h": 260,
    "s": 100,
    "l": 1.176
  },
  "oklch": {
    "l": 0.06883,
    "c": 0.03617,
    "h": 302.9
  },
  "luminance": 0.00026
}

Semantic roles & 50–950 ramp

primary
#020006
secondary
#3C530F
accent
#FF29B8
background
#F4F3F4
surface
#E6E5E6
border
#C2C1C2
text
#000000
muted
#777777

Preview Lab

Preview with #020006

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

Preview Lab → · Contrast checker → · Palette generator →

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