#52208E#52208E

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

Color values

HEX#52208E
RGBrgb(82, 32, 142)
HSLhsl(267, 63%, 34%)
HSVhsv(267, 77%, 56%)
CMYKcmyk(42.3%, 77.5%, 0%, 44.3%)
CIE-LABlab(26.10, 45.40, -51.56)
CIE-LCHlch(26.10, 68.70, 311.36°)
OKLaboklab(38.34% 0.0807 -0.1474)
OKLCHoklch(38.34% 0.168 298.7)
XYZxyz(8.8774, 4.7797, 26.0408)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52208E #5C8E20
analogous
#20258E #52208E #89208E
triadic
#52208E #8E5220 #208E52
tetradic
#52208E #8E2025 #5C8E20 #208E89
square
#52208E #8E2025 #5C8E20 #208E89
split-complementary
#52208E #8E8920 #258E20
monochromatic
#18092A #35155C #52208E #6F2BC0 #8E51D8

Accessibility & contrast

On white

10.74
#52208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#52208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52208E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52208E#FFFFFF#000000##FFFFFF
##52208E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#433D56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #52208e;
/* rgb */ color: rgb(82, 32, 142);
/* oklch */ color: oklch(38.3% 0.168 298.7);
Tailwind
colors: {
  custom: {
    50: '#8961b0',
    500: '#52208e',
    950: '#000000',
  },
}
SCSS
$custom: #52208e;
$custom-light: #8961b0;
$custom-dark: #000000;
JSON
{
  "hex": "#52208e",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 267.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.1681,
    "h": 298.7
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#52208E
secondary
#8ABB4F
accent
#E6429B
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #52208E

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

Preview Lab → · Contrast checker → · Palette generator →

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