#52224E#52224E

#52224E is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.9% C 0.095 H 330.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#52224E
RGBrgb(82, 34, 78)
HSLhsl(305, 41%, 23%)
HSVhsv(305, 59%, 32%)
CMYKcmyk(0%, 58.5%, 4.9%, 67.8%)
CIE-LABlab(21.90, 29.16, -16.98)
CIE-LCHlch(21.90, 33.74, 329.80°)
OKLaboklab(33.88% 0.0827 -0.0464)
OKLCHoklch(33.88% 0.095 330.7)
XYZxyz(5.4268, 3.4883, 7.5937)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52224E #225226
analogous
#3E2252 #52224E #522236
triadic
#52224E #4E5222 #224E52
tetradic
#52224E #523E22 #225226 #223652
square
#52224E #523E22 #225226 #223652
split-complementary
#52224E #365222 #22523E
monochromatic
#160915 #271025 #52224E #7D3477 #A946A0

Accessibility & contrast

On white

12.37
#52224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#52224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52224E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52224E#FFFFFF#000000##FFFFFF
##52224E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#552634
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52224e;
/* rgb */ color: rgb(82, 34, 78);
/* oklch */ color: oklch(33.9% 0.095 330.7);
Tailwind
colors: {
  custom: {
    50: '#84607f',
    500: '#52224e',
    950: '#000000',
  },
}
SCSS
$custom: #52224e;
$custom-light: #84607f;
$custom-dark: #000000;
JSON
{
  "hex": "#52224e",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 305,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33884,
    "c": 0.09483,
    "h": 330.7
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#52224E
secondary
#4A864F
accent
#D16157
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52224E

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

Preview Lab → · Contrast checker → · Palette generator →

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