#52209C#52209C

#52209C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.183 H 294.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#52209C
RGBrgb(82, 32, 156)
HSLhsl(264, 66%, 37%)
HSVhsv(264, 79%, 61%)
CMYKcmyk(47.4%, 79.5%, 0%, 38.8%)
CIE-LABlab(27.37, 49.06, -58.09)
CIE-LCHlch(27.37, 76.04, 310.18°)
OKLaboklab(39.62% 0.0767 -0.1666)
OKLCHoklch(39.62% 0.183 294.7)
XYZxyz(9.9953, 5.2269, 31.9283)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52209C #6A9C20
analogous
#202C9C #52209C #90209C
triadic
#52209C #9C5220 #209C52
tetradic
#52209C #9C202C #6A9C20 #209C90
square
#52209C #9C202C #6A9C20 #209C90
split-complementary
#52209C #9C9020 #2C9C20
monochromatic
#1D0B36 #371669 #52209C #6D2ACF #8E59DD

Accessibility & contrast

On white

10.27
#52209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#52209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52209C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52209C#FFFFFF#000000##FFFFFF
##52209C1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#3C435E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52209c;
/* rgb */ color: rgb(82, 32, 156);
/* oklch */ color: oklch(39.6% 0.183 294.7);
Tailwind
colors: {
  custom: {
    50: '#8a62ba',
    500: '#52209c',
    950: '#000000',
  },
}
SCSS
$custom: #52209c;
$custom-light: #8a62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#52209c",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 264.194,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39624,
    "c": 0.18343,
    "h": 294.7
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#52209C
secondary
#96C157
accent
#E93FA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #52209C

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

Preview Lab → · Contrast checker → · Palette generator →

#52209C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva