#52207A#52207A

#52207A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.146 H 305.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#52207A
RGBrgb(82, 32, 122)
HSLhsl(273, 58%, 30%)
HSVhsv(273, 74%, 48%)
CMYKcmyk(32.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(24.42, 40.30, -41.73)
CIE-LCHlch(24.42, 58.01, 314.00°)
OKLaboklab(36.64% 0.0851 -0.1186)
OKLCHoklch(36.64% 0.146 305.7)
XYZxyz(7.5083, 4.2321, 18.8299)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52207A #487A20
analogous
#25207A #52207A #7A2075
triadic
#52207A #7A5220 #207A52
tetradic
#52207A #7A2520 #487A20 #20757A
square
#52207A #7A2520 #487A20 #20757A
split-complementary
#52207A #757A20 #207A25
monochromatic
#110719 #31134A #52207A #732DAA #9246CE

Accessibility & contrast

On white

11.37
#52207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52207A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52207A#FFFFFF#000000##FFFFFF
##52207A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52207a;
/* rgb */ color: rgb(82, 32, 122);
/* oklch */ color: oklch(36.6% 0.146 305.7);
Tailwind
colors: {
  custom: {
    50: '#8760a1',
    500: '#52207a',
    950: '#000000',
  },
}
SCSS
$custom: #52207a;
$custom-light: #8760a1;
$custom-dark: #000000;
JSON
{
  "hex": "#52207a",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 273.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36638,
    "c": 0.14596,
    "h": 305.7
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#52207A
secondary
#75AD49
accent
#E2468B
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #52207A

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

Preview Lab → · Contrast checker → · Palette generator →

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