#52215A#52215A

#52215A is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.109 H 321.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#52215A
RGBrgb(82, 33, 90)
HSLhsl(292, 46%, 24%)
HSVhsv(292, 63%, 35%)
CMYKcmyk(8.9%, 63.3%, 0%, 64.7%)
CIE-LABlab(22.37, 32.22, -24.26)
CIE-LCHlch(22.37, 40.33, 323.03°)
OKLaboklab(34.45% 0.0858 -0.0674)
OKLCHoklch(34.45% 0.109 321.8)
XYZxyz(5.8688, 3.6200, 10.0605)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52215A #295A21
analogous
#36215A #52215A #5A2146
triadic
#52215A #5A5221 #215A52
tetradic
#52215A #5A3621 #295A21 #21465A
square
#52215A #5A3621 #295A21 #21465A
split-complementary
#52215A #465A21 #215A36
monochromatic
#140816 #29112D #52215A #7B3187 #A442B4

Accessibility & contrast

On white

12.18
#52215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#52215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52215A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52215A#FFFFFF#000000##FFFFFF
##52215A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325C
Deuteranopia (green-blind)
#283758
Tritanopia (blue-blind)
#53293A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #52215a;
/* rgb */ color: rgb(82, 33, 90);
/* oklch */ color: oklch(34.4% 0.109 321.8);
Tailwind
colors: {
  custom: {
    50: '#846089',
    500: '#52215a',
    950: '#000000',
  },
}
SCSS
$custom: #52215a;
$custom-light: #846089;
$custom-dark: #000000;
JSON
{
  "hex": "#52215a",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 291.579,
    "s": 46.341,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.10907,
    "h": 321.8
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#52215A
secondary
#528E49
accent
#D65264
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #52215A

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

Preview Lab → · Contrast checker → · Palette generator →

#52215A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva