#521860#521860

#521860 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.129 H 319.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#521860
RGBrgb(82, 24, 96)
HSLhsl(288, 60%, 24%)
HSVhsv(288, 75%, 38%)
CMYKcmyk(14.6%, 75%, 0%, 62.4%)
CIE-LABlab(21.18, 37.92, -30.13)
CIE-LCHlch(21.18, 48.44, 321.53°)
OKLaboklab(33.71% 0.0975 -0.0845)
OKLCHoklch(33.71% 0.129 319.1)
XYZxyz(5.9174, 3.2919, 11.3878)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521860 #266018
analogous
#2E1860 #521860 #60184A
triadic
#521860 #605218 #186052
tetradic
#521860 #602E18 #266018 #184A60
square
#521860 #602E18 #266018 #184A60
split-complementary
#521860 #4A6018 #18602E
monochromatic
#150618 #280C2F #521860 #7C2491 #A630C2

Accessibility & contrast

On white

12.66
#521860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#521860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521860
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521860#FFFFFF#000000##FFFFFF
##5218601.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#52263A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #521860;
/* rgb */ color: rgb(82, 24, 96);
/* oklch */ color: oklch(33.7% 0.129 319.1);
Tailwind
colors: {
  custom: {
    50: '#855b8d',
    500: '#521860',
    950: '#000000',
  },
}
SCSS
$custom: #521860;
$custom-light: #855b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#521860",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 288.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.12901,
    "h": 319.1
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#521860
secondary
#4F963D
accent
#E34563
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #521860

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

Preview Lab → · Contrast checker → · Palette generator →

#521860 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva