#52216A#52216A

#52216A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.127 H 312.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#52216A
RGBrgb(82, 33, 106)
HSLhsl(280, 53%, 27%)
HSVhsv(280, 69%, 42%)
CMYKcmyk(22.6%, 68.9%, 0%, 58.4%)
CIE-LABlab(23.41, 35.88, -33.09)
CIE-LCHlch(23.41, 48.81, 317.32°)
OKLaboklab(35.54% 0.0858 -0.0932)
OKLCHoklch(35.54% 0.127 312.6)
XYZxyz(6.6246, 3.9223, 14.0410)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52216A #396A21
analogous
#2E216A #52216A #6A215E
triadic
#52216A #6A5221 #216A52
tetradic
#52216A #6A2E21 #396A21 #215E6A
square
#52216A #6A2E21 #396A21 #215E6A
split-complementary
#52216A #5E6A21 #216A2E
monochromatic
#120717 #2E123B #52216A #763099 #9941C4

Accessibility & contrast

On white

11.77
#52216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#52216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52216A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52216A#FFFFFF#000000##FFFFFF
##52216A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#4F2F42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52216a;
/* rgb */ color: rgb(82, 33, 106);
/* oklch */ color: oklch(35.5% 0.127 312.6);
Tailwind
colors: {
  custom: {
    50: '#856095',
    500: '#52216a',
    950: '#000000',
  },
}
SCSS
$custom: #52216a;
$custom-light: #856095;
$custom-dark: #000000;
JSON
{
  "hex": "#52216a",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 280.274,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.12669,
    "h": 312.6
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#52216A
secondary
#659E49
accent
#DC4C7B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #52216A

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

Preview Lab → · Contrast checker → · Palette generator →

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