#521490#521490

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

Color values

HEX#521490
RGBrgb(82, 20, 144)
HSLhsl(270, 76%, 32%)
HSVhsv(270, 86%, 56%)
CMYKcmyk(43.1%, 86.1%, 0%, 43.5%)
CIE-LABlab(24.66, 50.60, -55.15)
CIE-LCHlch(24.66, 74.85, 312.54°)
OKLaboklab(37.4% 0.0893 -0.1579)
OKLCHoklch(37.4% 0.181 299.5)
XYZxyz(8.7626, 4.3077, 26.7499)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521490 #529014
analogous
#141490 #521490 #901490
triadic
#521490 #905214 #149052
tetradic
#521490 #901414 #529014 #149090
square
#521490 #901414 #529014 #149090
split-complementary
#521490 #909014 #149014
monochromatic
#150525 #330D5A #521490 #711BC6 #8F3BE4

Accessibility & contrast

On white

11.28
#521490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#521490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521490
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521490#FFFFFF#000000##FFFFFF
##5214901.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#433955
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #521490;
/* rgb */ color: rgb(82, 20, 144);
/* oklch */ color: oklch(37.4% 0.181 299.5);
Tailwind
colors: {
  custom: {
    50: '#8a5cb2',
    500: '#521490',
    950: '#000000',
  },
}
SCSS
$custom: #521490;
$custom-light: #8a5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#521490",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 270,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37401,
    "c": 0.1814,
    "h": 299.5
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#521490
secondary
#80C33D
accent
#F23694
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #521490

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

Preview Lab → · Contrast checker → · Palette generator →

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