#20072B#20072B

#20072B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.073 H 313.7°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#20072B
RGBrgb(32, 7, 43)
HSLhsl(282, 72%, 10%)
HSVhsv(282, 84%, 17%)
CMYKcmyk(25.6%, 83.7%, 0%, 83.1%)
CIE-LABlab(5.72, 19.73, -18.22)
CIE-LCHlch(5.72, 26.86, 317.27°)
OKLaboklab(19.42% 0.0503 -0.0526)
OKLCHoklch(19.42% 0.073 313.7)
XYZxyz(1.1076, 0.6335, 2.3490)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20072B #122B07
analogous
#0E072B #20072B #2B0724
triadic
#20072B #2B2007 #072B20
tetradic
#20072B #2B0E07 #122B07 #07242B
square
#20072B #2B0E07 #122B07 #07242B
split-complementary
#20072B #242B07 #072B0E
monochromatic
#14041A #14041A #20072B #471060 #6E1894

Accessibility & contrast

On white

18.64
#20072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#20072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20072B
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20072B#FFFFFF#000000##FFFFFF
##20072B1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#05132A
Tritanopia (blue-blind)
#1F0E18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #20072b;
/* rgb */ color: rgb(32, 7, 43);
/* oklch */ color: oklch(19.4% 0.073 313.7);
Tailwind
colors: {
  custom: {
    50: '#5d4964',
    500: '#20072b',
    950: '#000000',
  },
}
SCSS
$custom: #20072b;
$custom-light: #5d4964;
$custom-dark: #000000;
JSON
{
  "hex": "#20072b",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 281.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19417,
    "c": 0.0728,
    "h": 313.7
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#20072B
secondary
#396B23
accent
#EF3971
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #20072B

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

Preview Lab → · Contrast checker → · Palette generator →

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