#521890#521890

#521890 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.178 H 299.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#521890
RGBrgb(82, 24, 144)
HSLhsl(269, 71%, 33%)
HSVhsv(269, 83%, 56%)
CMYKcmyk(43.1%, 83.3%, 0%, 43.5%)
CIE-LABlab(25.14, 49.21, -54.37)
CIE-LCHlch(25.14, 73.33, 312.15°)
OKLaboklab(37.73% 0.0866 -0.1556)
OKLCHoklch(37.73% 0.178 299.1)
XYZxyz(8.8391, 4.4606, 26.7754)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521890 #569018
analogous
#181A90 #521890 #8E1890
triadic
#521890 #905218 #189052
tetradic
#521890 #90181A #569018 #18908E
square
#521890 #90181A #569018 #18908E
split-complementary
#521890 #908E18 #1A9018
monochromatic
#160727 #340F5C #521890 #7021C4 #8F43E0

Accessibility & contrast

On white

11.10
#521890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#521890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521890
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521890#FFFFFF#000000##FFFFFF
##5218901.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#433B55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #521890;
/* rgb */ color: rgb(82, 24, 144);
/* oklch */ color: oklch(37.7% 0.178 299.1);
Tailwind
colors: {
  custom: {
    50: '#895eb2',
    500: '#521890',
    950: '#000000',
  },
}
SCSS
$custom: #521890;
$custom-light: #895eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#521890",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 269,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.17811,
    "h": 299.1
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#521890
secondary
#84C043
accent
#EE3A97
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #521890

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

Preview Lab → · Contrast checker → · Palette generator →

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