#521CA0#521CA0

#521CA0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.191 H 294.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#521CA0
RGBrgb(82, 28, 160)
HSLhsl(265, 70%, 37%)
HSVhsv(265, 83%, 63%)
CMYKcmyk(48.8%, 82.5%, 0%, 37.3%)
CIE-LABlab(27.19, 51.73, -60.83)
CIE-LCHlch(27.19, 79.85, 310.38°)
OKLaboklab(39.62% 0.0783 -0.1746)
OKLCHoklch(39.62% 0.191 294.2)
XYZxyz(10.2383, 5.1621, 33.7078)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521CA0 #6AA01C
analogous
#1C28A0 #521CA0 #941CA0
triadic
#521CA0 #A0521C #1CA052
tetradic
#521CA0 #A01C28 #6AA01C #1CA094
square
#521CA0 #A01C28 #6AA01C #1CA094
split-complementary
#521CA0 #A0941C #28A01C
monochromatic
#1D0A38 #37136C #521CA0 #6D25D4 #8E55E1

Accessibility & contrast

On white

10.33
#521CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#521CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521CA0
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521CA0#FFFFFF#000000##FFFFFF
##521CA01.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#3A435F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #521ca0;
/* rgb */ color: rgb(82, 28, 160);
/* oklch */ color: oklch(39.6% 0.191 294.2);
Tailwind
colors: {
  custom: {
    50: '#8b60bd',
    500: '#521ca0',
    950: '#000000',
  },
}
SCSS
$custom: #521ca0;
$custom-light: #8b60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#521ca0",
  "rgb": {
    "r": 82,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 264.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.19134,
    "h": 294.2
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#521CA0
secondary
#96C453
accent
#ED3BA4
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #521CA0

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

Preview Lab → · Contrast checker → · Palette generator →

#521CA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva