#20101F#20101F

#20101F is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.3% C 0.038 H 329.1°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#20101F
RGBrgb(32, 16, 31)
HSLhsl(304, 33%, 9%)
HSVhsv(304, 50%, 13%)
CMYKcmyk(0%, 50%, 3.1%, 87.5%)
CIE-LABlab(7.01, 11.38, -7.08)
CIE-LCHlch(7.01, 13.41, 328.11°)
OKLaboklab(20.27% 0.0324 -0.0194)
OKLCHoklch(20.27% 0.038 329.1)
XYZxyz(1.0283, 0.7766, 1.3918)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20101F #102011
analogous
#191020 #20101F #201017
triadic
#20101F #1F2010 #101F20
tetradic
#20101F #201910 #102011 #101720
square
#20101F #201910 #102011 #101720
split-complementary
#20101F #172010 #102019
monochromatic
#140A14 #140A14 #20101F #492447 #72396E

Accessibility & contrast

On white

18.18
#20101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#20101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20101F
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20101F#FFFFFF#000000##FFFFFF
##20101F1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#211116
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #20101f;
/* rgb */ color: rgb(32, 16, 31);
/* oklch */ color: oklch(20.3% 0.038 329.1);
Tailwind
colors: {
  custom: {
    50: '#5b4e5a',
    500: '#20101f',
    950: '#000000',
  },
}
SCSS
$custom: #20101f;
$custom-light: #5b4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#20101f",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 303.75,
    "s": 33.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20267,
    "c": 0.03778,
    "h": 329.1
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#20101F
secondary
#365638
accent
#C9655E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #20101F

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

Preview Lab → · Contrast checker → · Palette generator →

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