#20101E#20101E

#20101E is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.2% C 0.037 H 331.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#20101E
RGBrgb(32, 16, 30)
HSLhsl(308, 33%, 9%)
HSVhsv(308, 50%, 13%)
CMYKcmyk(0%, 50%, 6.2%, 87.5%)
CIE-LABlab(6.97, 11.12, -6.39)
CIE-LCHlch(6.97, 12.82, 330.13°)
OKLaboklab(20.21% 0.0321 -0.0175)
OKLCHoklch(20.21% 0.037 331.4)
XYZxyz(1.0153, 0.7714, 1.3235)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20101E #102012
analogous
#1A1020 #20101E #201016
triadic
#20101E #1E2010 #101E20
tetradic
#20101E #201A10 #102012 #101620
square
#20101E #201A10 #102012 #101620
split-complementary
#20101E #162010 #10201A
monochromatic
#140A13 #140A13 #20101E #492444 #72396B

Accessibility & contrast

On white

18.19
#20101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#20101E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20101E
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20101E#FFFFFF#000000##FFFFFF
##20101E1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141F
Deuteranopia (green-blind)
#14161D
Tritanopia (blue-blind)
#211115
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20101e;
/* rgb */ color: rgb(32, 16, 30);
/* oklch */ color: oklch(20.2% 0.037 331.4);
Tailwind
colors: {
  custom: {
    50: '#5b4e59',
    500: '#20101e',
    950: '#000000',
  },
}
SCSS
$custom: #20101e;
$custom-light: #5b4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#20101e",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 307.5,
    "s": 33.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20212,
    "c": 0.03651,
    "h": 331.4
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#20101E
secondary
#36563A
accent
#C96C5E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #20101E

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

Preview Lab → · Contrast checker → · Palette generator →

#20101E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva