#52206D#52206D

#52206D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.132 H 311.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#52206D
RGBrgb(82, 32, 109)
HSLhsl(279, 55%, 28%)
HSVhsv(279, 71%, 43%)
CMYKcmyk(24.8%, 70.6%, 0%, 57.3%)
CIE-LABlab(23.44, 37.11, -34.98)
CIE-LCHlch(23.44, 51.00, 316.69°)
OKLaboklab(35.63% 0.0869 -0.0987)
OKLCHoklch(35.63% 0.132 311.3)
XYZxyz(6.7560, 3.9312, 14.8679)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52206D #3B6D20
analogous
#2B206D #52206D #6D2061
triadic
#52206D #6D5220 #206D52
tetradic
#52206D #6D2B20 #3B6D20 #20616D
square
#52206D #6D2B20 #3B6D20 #20616D
split-complementary
#52206D #616D20 #206D2B
monochromatic
#120718 #2E123E #52206D #762E9C #9840C7

Accessibility & contrast

On white

11.76
#52206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#52206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52206D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52206D#FFFFFF#000000##FFFFFF
##52206D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#4F3043
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52206d;
/* rgb */ color: rgb(82, 32, 109);
/* oklch */ color: oklch(35.6% 0.132 311.3);
Tailwind
colors: {
  custom: {
    50: '#866097',
    500: '#52206d',
    950: '#000000',
  },
}
SCSS
$custom: #52206d;
$custom-light: #866097;
$custom-dark: #000000;
JSON
{
  "hex": "#52206d",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 278.961,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.1315,
    "h": 311.3
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#52206D
secondary
#67A148
accent
#DE4A7E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #52206D

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

Preview Lab → · Contrast checker → · Palette generator →

#52206D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva