#220520#220520

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

Color values

HEX#220520
RGBrgb(34, 5, 32)
HSLhsl(304, 74%, 8%)
HSVhsv(304, 85%, 13%)
CMYKcmyk(0%, 85.3%, 5.9%, 86.7%)
CIE-LABlab(5.00, 18.13, -10.90)
CIE-LCHlch(5.00, 21.15, 329.00°)
OKLaboklab(18.55% 0.0574 -0.0323)
OKLCHoklch(18.55% 0.066 330.7)
XYZxyz(0.9747, 0.5530, 1.4216)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220520 #052207
analogous
#150522 #220520 #220511
triadic
#220520 #202205 #052022
tetradic
#220520 #221505 #052207 #051122
square
#220520 #221505 #052207 #051122
split-complementary
#220520 #112205 #052215
monochromatic
#1B0419 #1B0419 #220520 #570D52 #8D1584

Accessibility & contrast

On white

18.91
#220520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#220520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##220520#FFFFFF#000000##FFFFFF
##2205201.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)
#040E21
Deuteranopia (green-blind)
#0D121F
Tritanopia (blue-blind)
#240811
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #220520;
/* rgb */ color: rgb(34, 5, 32);
/* oklch */ color: oklch(18.5% 0.066 330.7);
Tailwind
colors: {
  custom: {
    50: '#5d485b',
    500: '#220520',
    950: '#000000',
  },
}
SCSS
$custom: #220520;
$custom-light: #5d485b;
$custom-dark: #000000;
JSON
{
  "hex": "#220520",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 32
  },
  "hsl": {
    "h": 304.138,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18545,
    "c": 0.06588,
    "h": 330.7
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#220520
secondary
#1F6324
accent
#F14437
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #220520

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

Preview Lab → · Contrast checker → · Palette generator →

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