#220720#220720

#220720 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.9% C 0.061 H 330.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#220720
RGBrgb(34, 7, 32)
HSLhsl(304, 66%, 8%)
HSVhsv(304, 79%, 13%)
CMYKcmyk(0%, 79.4%, 5.9%, 86.7%)
CIE-LABlab(5.39, 17.24, -10.30)
CIE-LCHlch(5.39, 20.09, 329.15°)
OKLaboklab(18.93% 0.0533 -0.0299)
OKLCHoklch(18.93% 0.061 330.7)
XYZxyz(0.9964, 0.5964, 1.4289)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220720 #072209
analogous
#160722 #220720 #220712
triadic
#220720 #202207 #072022
tetradic
#220720 #221607 #072209 #071222
square
#220720 #221607 #072209 #071222
split-complementary
#220720 #122207 #072216
monochromatic
#190518 #190518 #220720 #551150 #881C80

Accessibility & contrast

On white

18.76
#220720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#220720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220720
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220720#FFFFFF#000000##FFFFFF
##2207201.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F21
Deuteranopia (green-blind)
#0E131F
Tritanopia (blue-blind)
#240912
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220720;
/* rgb */ color: rgb(34, 7, 32);
/* oklch */ color: oklch(18.9% 0.061 330.7);
Tailwind
colors: {
  custom: {
    50: '#5d495b',
    500: '#220720',
    950: '#000000',
  },
}
SCSS
$custom: #220720;
$custom-light: #5d495b;
$custom-dark: #000000;
JSON
{
  "hex": "#220720",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 304.444,
    "s": 65.854,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18925,
    "c": 0.06108,
    "h": 330.7
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#220720
secondary
#246128
accent
#E94C3F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #220720

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

Preview Lab → · Contrast checker → · Palette generator →

#220720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva