#52209F#52209F

#52209F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.187 H 293.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#52209F
RGBrgb(82, 32, 159)
HSLhsl(264, 66%, 37%)
HSVhsv(264, 80%, 62%)
CMYKcmyk(48.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(27.65, 49.85, -59.46)
CIE-LCHlch(27.65, 77.59, 309.98°)
OKLaboklab(39.91% 0.0758 -0.1706)
OKLCHoklch(39.91% 0.187 293.9)
XYZxyz(10.2525, 5.3297, 33.2827)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52209F #6D9F20
analogous
#202E9F #52209F #91209F
triadic
#52209F #9F5220 #209F52
tetradic
#52209F #9F202E #6D9F20 #209F91
square
#52209F #9F202E #6D9F20 #209F91
split-complementary
#52209F #9F9120 #2E9F20
monochromatic
#1D0B39 #38166C #52209F #6C2AD2 #8F5BDE

Accessibility & contrast

On white

10.16
#52209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#52209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52209F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52209F#FFFFFF#000000##FFFFFF
##52209F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3A4460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52209f;
/* rgb */ color: rgb(82, 32, 159);
/* oklch */ color: oklch(39.9% 0.187 293.9);
Tailwind
colors: {
  custom: {
    50: '#8b62bc',
    500: '#52209f',
    950: '#000000',
  },
}
SCSS
$custom: #52209f;
$custom-light: #8b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#52209f",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 263.622,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.18669,
    "h": 293.9
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#52209F
secondary
#99C259
accent
#E93EA6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #52209F

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

Preview Lab → · Contrast checker → · Palette generator →

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