#20071E#20071E

#20071E is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.4% C 0.057 H 330.8°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#20071E
RGBrgb(32, 7, 30)
HSLhsl(305, 64%, 8%)
HSVhsv(305, 78%, 13%)
CMYKcmyk(0%, 78.1%, 6.2%, 87.5%)
CIE-LABlab(4.99, 15.53, -9.36)
CIE-LCHlch(4.99, 18.13, 328.91°)
OKLaboklab(18.42% 0.05 -0.0279)
OKLCHoklch(18.42% 0.057 330.8)
XYZxyz(0.9060, 0.5528, 1.2870)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20071E #072009
analogous
#150720 #20071E #200711
triadic
#20071E #1E2007 #071E20
tetradic
#20071E #201507 #072009 #071120
square
#20071E #201507 #072009 #071120
split-complementary
#20071E #112007 #072015
monochromatic
#190518 #190518 #20071E #52124D #841D7C

Accessibility & contrast

On white

18.91
#20071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#20071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20071E
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20071E#FFFFFF#000000##FFFFFF
##20071E1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F1F
Deuteranopia (green-blind)
#0D121D
Tritanopia (blue-blind)
#220911
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #20071e;
/* rgb */ color: rgb(32, 7, 30);
/* oklch */ color: oklch(18.4% 0.057 330.8);
Tailwind
colors: {
  custom: {
    50: '#5b4959',
    500: '#20071e',
    950: '#000000',
  },
}
SCSS
$custom: #20071e;
$custom-light: #5b4959;
$custom-dark: #000000;
JSON
{
  "hex": "#20071e",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 304.8,
    "s": 64.103,
    "l": 7.647
  },
  "oklch": {
    "l": 0.1842,
    "c": 0.05729,
    "h": 330.8
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#20071E
secondary
#245F29
accent
#E74E41
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #20071E

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

Preview Lab → · Contrast checker → · Palette generator →

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