#20062C#20062C

#20062C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.076 H 313.1°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#20062C
RGBrgb(32, 6, 44)
HSLhsl(281, 76%, 10%)
HSVhsv(281, 86%, 17%)
CMYKcmyk(27.3%, 86.4%, 0%, 82.7%)
CIE-LABlab(5.59, 20.55, -19.18)
CIE-LCHlch(5.59, 28.11, 316.97°)
OKLaboklab(19.33% 0.0519 -0.0556)
OKLCHoklch(19.33% 0.076 313.1)
XYZxyz(1.1153, 0.6192, 2.4431)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20062C #122C06
analogous
#0D062C #20062C #2C0625
triadic
#20062C #2C2006 #062C20
tetradic
#20062C #2C0D06 #122C06 #06252C
square
#20062C #2C0D06 #122C06 #06252C
split-complementary
#20062C #252C06 #062C0D
monochromatic
#14041B #14041B #20062C #470D62 #6E1598

Accessibility & contrast

On white

18.69
#20062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20062C
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20062C#FFFFFF#000000##FFFFFF
##20062C1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#1F0E18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #20062c;
/* rgb */ color: rgb(32, 6, 44);
/* oklch */ color: oklch(19.3% 0.076 313.1);
Tailwind
colors: {
  custom: {
    50: '#5d4965',
    500: '#20062c',
    950: '#000000',
  },
}
SCSS
$custom: #20062c;
$custom-light: #5d4965;
$custom-dark: #000000;
JSON
{
  "hex": "#20062c",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 281.053,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19328,
    "c": 0.07606,
    "h": 313.1
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#20062C
secondary
#396D21
accent
#F33571
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #20062C

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

Preview Lab → · Contrast checker → · Palette generator →

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