#521590#521590

#521590 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.181 H 299.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#521590
RGBrgb(82, 21, 144)
HSLhsl(270, 75%, 32%)
HSVhsv(270, 85%, 56%)
CMYKcmyk(43.1%, 85.4%, 0%, 43.5%)
CIE-LABlab(24.78, 50.27, -54.97)
CIE-LCHlch(24.78, 74.49, 312.44°)
OKLaboklab(37.48% 0.0887 -0.1573)
OKLCHoklch(37.48% 0.181 299.4)
XYZxyz(8.7806, 4.3437, 26.7560)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521590 #539015
analogous
#151690 #521590 #8F1590
triadic
#521590 #905215 #159052
tetradic
#521590 #901516 #539015 #15908F
square
#521590 #901516 #539015 #15908F
split-complementary
#521590 #908F15 #169015
monochromatic
#150525 #340D5B #521590 #701DC5 #8F3DE3

Accessibility & contrast

On white

11.24
#521590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#521590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521590
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521590#FFFFFF#000000##FFFFFF
##5215901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#433955
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #521590;
/* rgb */ color: rgb(82, 21, 144);
/* oklch */ color: oklch(37.5% 0.181 299.4);
Tailwind
colors: {
  custom: {
    50: '#8a5cb2',
    500: '#521590',
    950: '#000000',
  },
}
SCSS
$custom: #521590;
$custom-light: #8a5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#521590",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 269.756,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.18062,
    "h": 299.4
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#521590
secondary
#81C23E
accent
#F13795
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #521590

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

Preview Lab → · Contrast checker → · Palette generator →

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