#52208F#52208F

#52208F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.169 H 298.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#52208F
RGBrgb(82, 32, 143)
HSLhsl(267, 63%, 34%)
HSVhsv(267, 78%, 56%)
CMYKcmyk(42.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(26.19, 45.66, -52.04)
CIE-LCHlch(26.19, 69.23, 311.27°)
OKLaboklab(38.43% 0.0805 -0.1488)
OKLCHoklch(38.43% 0.169 298.4)
XYZxyz(8.9528, 4.8099, 26.4380)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52208F #5D8F20
analogous
#20268F #52208F #8A208F
triadic
#52208F #8F5220 #208F52
tetradic
#52208F #8F2026 #5D8F20 #208F8A
square
#52208F #8F2026 #5D8F20 #208F8A
split-complementary
#52208F #8F8A20 #268F20
monochromatic
#190A2B #35155D #52208F #6F2BC1 #8E51D8

Accessibility & contrast

On white

10.70
#52208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52208F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52208F#FFFFFF#000000##FFFFFF
##52208F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52208f;
/* rgb */ color: rgb(82, 32, 143);
/* oklch */ color: oklch(38.4% 0.169 298.4);
Tailwind
colors: {
  custom: {
    50: '#8961b1',
    500: '#52208f',
    950: '#000000',
  },
}
SCSS
$custom: #52208f;
$custom-light: #8961b1;
$custom-dark: #000000;
JSON
{
  "hex": "#52208f",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 267.027,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.1692,
    "h": 298.4
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#52208F
secondary
#8BBB4F
accent
#E6419C
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #52208F

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

Preview Lab → · Contrast checker → · Palette generator →

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