#20062B#20062B

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

Color values

HEX#20062B
RGBrgb(32, 6, 43)
HSLhsl(282, 76%, 10%)
HSVhsv(282, 86%, 17%)
CMYKcmyk(25.6%, 86%, 0%, 83.1%)
CIE-LABlab(5.53, 20.20, -18.53)
CIE-LCHlch(5.53, 27.42, 317.47°)
OKLaboklab(19.24% 0.0521 -0.0538)
OKLCHoklch(19.24% 0.075 314.1)
XYZxyz(1.0968, 0.6118, 2.3453)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20062B #112B06
analogous
#0E062B #20062B #2B0624
triadic
#20062B #2B2006 #062B20
tetradic
#20062B #2B0E06 #112B06 #06242B
square
#20062B #2B0E06 #112B06 #06242B
split-complementary
#20062B #242B06 #062B0E
monochromatic
#14041B #14041B #20062B #480D61 #701596

Accessibility & contrast

On white

18.71
#20062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20062B
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20062B#FFFFFF#000000##FFFFFF
##20062B1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#04132A
Tritanopia (blue-blind)
#1F0D17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #20062b;
/* rgb */ color: rgb(32, 6, 43);
/* oklch */ color: oklch(19.2% 0.075 314.1);
Tailwind
colors: {
  custom: {
    50: '#5d4964',
    500: '#20062b',
    950: '#000000',
  },
}
SCSS
$custom: #20062b;
$custom-light: #5d4964;
$custom-dark: #000000;
JSON
{
  "hex": "#20062b",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 282.162,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1924,
    "c": 0.07485,
    "h": 314.1
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#20062B
secondary
#376C21
accent
#F2366E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #20062B

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

Preview Lab → · Contrast checker → · Palette generator →

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