#210522#210522

#210522 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.067 H 326.5°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#210522
RGBrgb(33, 5, 34)
HSLhsl(298, 74%, 8%)
HSVhsv(298, 85%, 13%)
CMYKcmyk(2.9%, 85.3%, 0%, 86.7%)
CIE-LABlab(4.94, 18.18, -12.54)
CIE-LCHlch(4.94, 22.09, 325.40°)
OKLaboklab(18.5% 0.0561 -0.0372)
OKLCHoklch(18.5% 0.067 326.5)
XYZxyz(0.9702, 0.5474, 1.5676)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210522 #062205
analogous
#120522 #210522 #220514
triadic
#210522 #222105 #052221
tetradic
#210522 #221205 #062205 #051422
square
#210522 #221205 #062205 #051422
split-complementary
#210522 #142205 #052212
monochromatic
#1A041B #1A041B #210522 #550D57 #89158D

Accessibility & contrast

On white

18.93
#210522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210522
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210522#FFFFFF#000000##FFFFFF
##2105221.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E23
Deuteranopia (green-blind)
#0B1221
Tritanopia (blue-blind)
#220912
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #210522;
/* rgb */ color: rgb(33, 5, 34);
/* oklch */ color: oklch(18.5% 0.067 326.5);
Tailwind
colors: {
  custom: {
    50: '#5d485d',
    500: '#210522',
    950: '#000000',
  },
}
SCSS
$custom: #210522;
$custom-light: #5d485d;
$custom-dark: #000000;
JSON
{
  "hex": "#210522",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 297.931,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.185,
    "c": 0.0673,
    "h": 326.5
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#210522
secondary
#22631F
accent
#F1373D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #210522

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

Preview Lab → · Contrast checker → · Palette generator →

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