#20062A#20062A

#20062A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.074 H 315.1°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#20062A
RGBrgb(32, 6, 42)
HSLhsl(283, 75%, 9%)
HSVhsv(283, 86%, 16%)
CMYKcmyk(23.8%, 85.7%, 0%, 83.5%)
CIE-LABlab(5.46, 19.86, -17.88)
CIE-LCHlch(5.46, 26.72, 318.00°)
OKLaboklab(19.15% 0.0522 -0.0519)
OKLCHoklch(19.15% 0.074 315.1)
XYZxyz(1.0786, 0.6045, 2.2499)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20062A #102A06
analogous
#0E062A #20062A #2A0622
triadic
#20062A #2A2006 #062A20
tetradic
#20062A #2A0E06 #102A06 #06222A
square
#20062A #2A0E06 #102A06 #06222A
split-complementary
#20062A #222A06 #062A0E
monochromatic
#14041B #14041B #20062A #490E60 #721595

Accessibility & contrast

On white

18.74
#20062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#20062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20062A
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20062A#FFFFFF#000000##FFFFFF
##20062A1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#051329
Tritanopia (blue-blind)
#1F0D17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #20062a;
/* rgb */ color: rgb(32, 6, 42);
/* oklch */ color: oklch(19.2% 0.074 315.1);
Tailwind
colors: {
  custom: {
    50: '#5c4963',
    500: '#20062a',
    950: '#000000',
  },
}
SCSS
$custom: #20062a;
$custom-light: #5c4963;
$custom-dark: #000000;
JSON
{
  "hex": "#20062a",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 283.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19153,
    "c": 0.07365,
    "h": 315.1
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#20062A
secondary
#366B21
accent
#F2366A
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #20062A

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

Preview Lab → · Contrast checker → · Palette generator →

#20062A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva