#52206E#52206E

#52206E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.133 H 310.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#52206E
RGBrgb(82, 32, 110)
HSLhsl(278, 55%, 28%)
HSVhsv(278, 71%, 43%)
CMYKcmyk(25.5%, 70.9%, 0%, 56.9%)
CIE-LABlab(23.51, 37.35, -35.51)
CIE-LCHlch(23.51, 51.54, 316.44°)
OKLaboklab(35.7% 0.0868 -0.1003)
OKLCHoklch(35.7% 0.133 310.9)
XYZxyz(6.8101, 3.9528, 15.1530)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52206E #3C6E20
analogous
#2B206E #52206E #6E2063
triadic
#52206E #6E5220 #206E52
tetradic
#52206E #6E2B20 #3C6E20 #20636E
square
#52206E #6E2B20 #3C6E20 #20636E
split-complementary
#52206E #636E20 #206E2B
monochromatic
#120718 #2F123F #52206E #752E9D #9741C8

Accessibility & contrast

On white

11.73
#52206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52206E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52206E#FFFFFF#000000##FFFFFF
##52206E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#16396C
Tritanopia (blue-blind)
#4E3044
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52206e;
/* rgb */ color: rgb(82, 32, 110);
/* oklch */ color: oklch(35.7% 0.133 310.9);
Tailwind
colors: {
  custom: {
    50: '#866098',
    500: '#52206e',
    950: '#000000',
  },
}
SCSS
$custom: #52206e;
$custom-light: #866098;
$custom-dark: #000000;
JSON
{
  "hex": "#52206e",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 278.462,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.13262,
    "h": 310.9
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#52206E
secondary
#68A248
accent
#DE4A7F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #52206E

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

Preview Lab → · Contrast checker → · Palette generator →

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