#52209B#52209B

#52209B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.182 H 295.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#52209B
RGBrgb(82, 32, 155)
HSLhsl(264, 66%, 37%)
HSVhsv(264, 79%, 61%)
CMYKcmyk(47.1%, 79.4%, 0%, 39.2%)
CIE-LABlab(27.28, 48.80, -57.64)
CIE-LCHlch(27.28, 75.52, 310.25°)
OKLaboklab(39.53% 0.077 -0.1653)
OKLCHoklch(39.53% 0.182 295)
XYZxyz(9.9110, 5.1931, 31.4842)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52209B #699B20
analogous
#202C9B #52209B #90209B
triadic
#52209B #9B5220 #209B52
tetradic
#52209B #9B202C #699B20 #209B90
square
#52209B #9B202C #699B20 #209B90
split-complementary
#52209B #9B9020 #2C9B20
monochromatic
#1C0B36 #371668 #52209B #6D2ACE #8E59DD

Accessibility & contrast

On white

10.30
#52209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#52209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52209B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52209B#FFFFFF#000000##FFFFFF
##52209B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#3D425D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #52209b;
/* rgb */ color: rgb(82, 32, 155);
/* oklch */ color: oklch(39.5% 0.182 295.0);
Tailwind
colors: {
  custom: {
    50: '#8a62ba',
    500: '#52209b',
    950: '#000000',
  },
}
SCSS
$custom: #52209b;
$custom-light: #8a62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#52209b",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 264.39,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.18234,
    "h": 295
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#52209B
secondary
#95C156
accent
#E93FA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #52209B

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

Preview Lab → · Contrast checker → · Palette generator →

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