#52208D#52208D

#52208D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.167 H 299.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#52208D
RGBrgb(82, 32, 141)
HSLhsl(268, 63%, 34%)
HSVhsv(268, 77%, 55%)
CMYKcmyk(41.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(26.01, 45.14, -51.09)
CIE-LCHlch(26.01, 68.17, 311.47°)
OKLaboklab(38.25% 0.081 -0.1461)
OKLCHoklch(38.25% 0.167 299)
XYZxyz(8.8027, 4.7498, 25.6472)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52208D #5B8D20
analogous
#20258D #52208D #89208D
triadic
#52208D #8D5220 #208D52
tetradic
#52208D #8D2025 #5B8D20 #208D89
square
#52208D #8D2025 #5B8D20 #208D89
split-complementary
#52208D #8D8920 #258D20
monochromatic
#180929 #35155B #52208D #6F2BBF #8E50D7

Accessibility & contrast

On white

10.77
#52208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#52208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52208D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52208D#FFFFFF#000000##FFFFFF
##52208D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#443D55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #52208d;
/* rgb */ color: rgb(82, 32, 141);
/* oklch */ color: oklch(38.3% 0.167 299.0);
Tailwind
colors: {
  custom: {
    50: '#8961af',
    500: '#52208d',
    950: '#000000',
  },
}
SCSS
$custom: #52208d;
$custom-light: #8961af;
$custom-dark: #000000;
JSON
{
  "hex": "#52208d",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 267.523,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.167,
    "h": 299
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#52208D
secondary
#89BA4E
accent
#E6429B
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #52208D

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

Preview Lab → · Contrast checker → · Palette generator →

#52208D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva