#52207B#52207B

#52207B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.147 H 305.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#52207B
RGBrgb(82, 32, 123)
HSLhsl(273, 59%, 30%)
HSVhsv(273, 74%, 48%)
CMYKcmyk(33.3%, 74%, 0%, 51.8%)
CIE-LABlab(24.50, 40.54, -42.24)
CIE-LCHlch(24.50, 58.55, 313.83°)
OKLaboklab(36.72% 0.085 -0.12)
OKLCHoklch(36.72% 0.147 305.3)
XYZxyz(7.5705, 4.2570, 19.1579)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52207B #497B20
analogous
#24207B #52207B #7B2076
triadic
#52207B #7B5220 #207B52
tetradic
#52207B #7B2420 #497B20 #20767B
square
#52207B #7B2420 #497B20 #20767B
split-complementary
#52207B #767B20 #207B24
monochromatic
#11071A #32134A #52207B #722DAC #9146CF

Accessibility & contrast

On white

11.34
#52207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#52207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52207B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52207B#FFFFFF#000000##FFFFFF
##52207B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#4B354B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #52207b;
/* rgb */ color: rgb(82, 32, 123);
/* oklch */ color: oklch(36.7% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#8760a2',
    500: '#52207b',
    950: '#000000',
  },
}
SCSS
$custom: #52207b;
$custom-light: #8760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#52207b",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 272.967,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36719,
    "c": 0.14708,
    "h": 305.3
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#52207B
secondary
#76AE49
accent
#E2468C
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #52207B

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

Preview Lab → · Contrast checker → · Palette generator →

#52207B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva