#52224C#52224C

#52224C is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.8% C 0.093 H 332.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#52224C
RGBrgb(82, 34, 76)
HSLhsl(308, 41%, 23%)
HSVhsv(308, 59%, 32%)
CMYKcmyk(0%, 58.5%, 7.3%, 67.8%)
CIE-LABlab(21.80, 28.77, -15.79)
CIE-LCHlch(21.80, 32.81, 331.24°)
OKLaboklab(33.78% 0.0823 -0.043)
OKLCHoklch(33.78% 0.093 332.4)
XYZxyz(5.3562, 3.4601, 7.2218)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52224C #225228
analogous
#402252 #52224C #522234
triadic
#52224C #4C5222 #224C52
tetradic
#52224C #524022 #225228 #223452
square
#52224C #524022 #225228 #223452
split-complementary
#52224C #345222 #225240
monochromatic
#160914 #271024 #52224C #7D3474 #A9469C

Accessibility & contrast

On white

12.41
#52224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#52224C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52224C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52224C#FFFFFF#000000##FFFFFF
##52224C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#552633
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52224c;
/* rgb */ color: rgb(82, 34, 76);
/* oklch */ color: oklch(33.8% 0.093 332.4);
Tailwind
colors: {
  custom: {
    50: '#84607e',
    500: '#52224c',
    950: '#000000',
  },
}
SCSS
$custom: #52224c;
$custom-light: #84607e;
$custom-dark: #000000;
JSON
{
  "hex": "#52224c",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 307.5,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.09287,
    "h": 332.4
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#52224C
secondary
#4A8651
accent
#D16657
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52224C

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

Preview Lab → · Contrast checker → · Palette generator →

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