#521CA9#521CA9

#521CA9 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.201 H 292.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#521CA9
RGBrgb(82, 28, 169)
HSLhsl(263, 72%, 39%)
HSVhsv(263, 83%, 66%)
CMYKcmyk(51.5%, 83.4%, 0%, 33.7%)
CIE-LABlab(28.08, 54.05, -64.81)
CIE-LCHlch(28.08, 84.39, 309.82°)
OKLaboklab(40.5% 0.0751 -0.1862)
OKLCHoklch(40.5% 0.201 292)
XYZxyz(11.0543, 5.4885, 38.0054)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521CA9 #73A91C
analogous
#1C2CA9 #521CA9 #981CA9
triadic
#521CA9 #A9521C #1CA952
tetradic
#521CA9 #A91C2C #73A91C #1CA998
square
#521CA9 #A91C2C #73A91C #1CA998
split-complementary
#521CA9 #A9981C #2CA91C
monochromatic
#1F0B40 #391374 #521CA9 #6C27DB #905BE4

Accessibility & contrast

On white

10.01
#521CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#521CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521CA9
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521CA9#FFFFFF#000000##FFFFFF
##521CA91.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#344765
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #521ca9;
/* rgb */ color: rgb(82, 28, 169);
/* oklch */ color: oklch(40.5% 0.201 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d61c4',
    500: '#521ca9',
    950: '#000000',
  },
}
SCSS
$custom: #521ca9;
$custom-light: #8d61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#521ca9",
  "rgb": {
    "r": 82,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 262.979,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.2008,
    "h": 292
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#521CA9
secondary
#9DC859
accent
#EE39A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #521CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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