#52215C#52215C

#52215C is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.111 H 320.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#52215C
RGBrgb(82, 33, 92)
HSLhsl(290, 47%, 25%)
HSVhsv(290, 64%, 36%)
CMYKcmyk(10.9%, 64.1%, 0%, 63.9%)
CIE-LABlab(22.49, 32.66, -25.39)
CIE-LCHlch(22.49, 41.37, 322.14°)
OKLaboklab(34.58% 0.0859 -0.0707)
OKLCHoklch(34.58% 0.111 320.5)
XYZxyz(5.9551, 3.6545, 10.5149)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52215C #2B5C21
analogous
#35215C #52215C #5C2149
triadic
#52215C #5C5221 #215C52
tetradic
#52215C #5C3521 #2B5C21 #21495C
square
#52215C #5C3521 #2B5C21 #21495C
split-complementary
#52215C #495C21 #215C35
monochromatic
#140817 #2A112F #52215C #7A3189 #A241B6

Accessibility & contrast

On white

12.13
#52215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#52215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52215C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52215C#FFFFFF#000000##FFFFFF
##52215C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#26385A
Tritanopia (blue-blind)
#532A3B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #52215c;
/* rgb */ color: rgb(82, 33, 92);
/* oklch */ color: oklch(34.6% 0.111 320.5);
Tailwind
colors: {
  custom: {
    50: '#85608a',
    500: '#52215c',
    950: '#000000',
  },
}
SCSS
$custom: #52215c;
$custom-light: #85608a;
$custom-dark: #000000;
JSON
{
  "hex": "#52215c",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 289.831,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.11122,
    "h": 320.5
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#52215C
secondary
#559049
accent
#D75168
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #52215C

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

Preview Lab → · Contrast checker → · Palette generator →

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