#52205C#52205C

#52205C is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.113 H 320.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#52205C
RGBrgb(82, 32, 92)
HSLhsl(290, 48%, 24%)
HSVhsv(290, 65%, 36%)
CMYKcmyk(10.9%, 65.2%, 0%, 63.9%)
CIE-LABlab(22.30, 33.19, -25.69)
CIE-LCHlch(22.30, 41.97, 322.25°)
OKLaboklab(34.44% 0.0873 -0.0716)
OKLCHoklch(34.44% 0.113 320.7)
XYZxyz(5.9277, 3.5998, 10.5057)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52205C #2A5C20
analogous
#34205C #52205C #5C2048
triadic
#52205C #5C5220 #205C52
tetradic
#52205C #5C3420 #2A5C20 #20485C
square
#52205C #5C3420 #2A5C20 #20485C
split-complementary
#52205C #485C20 #205C34
monochromatic
#140817 #2A102F #52205C #7A3089 #A340B7

Accessibility & contrast

On white

12.21
#52205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#52205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52205C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52205C#FFFFFF#000000##FFFFFF
##52205C1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325E
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#53293A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #52205c;
/* rgb */ color: rgb(82, 32, 92);
/* oklch */ color: oklch(34.4% 0.113 320.7);
Tailwind
colors: {
  custom: {
    50: '#855f8a',
    500: '#52205c',
    950: '#000000',
  },
}
SCSS
$custom: #52205c;
$custom-light: #855f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#52205c",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 290,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.11288,
    "h": 320.7
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#52205C
secondary
#549047
accent
#D85067
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #52205C

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

Preview Lab → · Contrast checker → · Palette generator →

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