#52206F#52206F

#52206F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.134 H 310.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#52206F
RGBrgb(82, 32, 111)
HSLhsl(278, 55%, 28%)
HSVhsv(278, 71%, 44%)
CMYKcmyk(26.1%, 71.2%, 0%, 56.5%)
CIE-LABlab(23.59, 37.59, -36.04)
CIE-LCHlch(23.59, 52.08, 316.20°)
OKLaboklab(35.78% 0.0867 -0.1018)
OKLCHoklch(35.78% 0.134 310.4)
XYZxyz(6.8649, 3.9747, 15.4414)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52206F #3D6F20
analogous
#2A206F #52206F #6F2064
triadic
#52206F #6F5220 #206F52
tetradic
#52206F #6F2A20 #3D6F20 #20646F
square
#52206F #6F2A20 #3D6F20 #20646F
split-complementary
#52206F #646F20 #206F2A
monochromatic
#120718 #2F123F #52206F #752E9F #9741C8

Accessibility & contrast

On white

11.70
#52206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#52206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52206F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52206F#FFFFFF#000000##FFFFFF
##52206F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#4E3145
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52206f;
/* rgb */ color: rgb(82, 32, 111);
/* oklch */ color: oklch(35.8% 0.134 310.4);
Tailwind
colors: {
  custom: {
    50: '#866099',
    500: '#52206f',
    950: '#000000',
  },
}
SCSS
$custom: #52206f;
$custom-light: #866099;
$custom-dark: #000000;
JSON
{
  "hex": "#52206f",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 277.975,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35776,
    "c": 0.13373,
    "h": 310.4
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#52206F
secondary
#69A348
accent
#DF4980
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #52206F

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

Preview Lab → · Contrast checker → · Palette generator →

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