#5520A1#5520A1

#5520A1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.189 H 295.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#5520A1
RGBrgb(85, 32, 161)
HSLhsl(265, 67%, 38%)
HSVhsv(265, 80%, 63%)
CMYKcmyk(47.2%, 80.1%, 0%, 36.9%)
CIE-LABlab(28.21, 50.81, -59.74)
CIE-LCHlch(28.21, 78.43, 310.38°)
OKLaboklab(40.44% 0.0798 -0.1713)
OKLCHoklch(40.44% 0.189 295)
XYZxyz(10.6941, 5.5372, 34.2166)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5520A1 #6CA120
analogous
#202CA1 #5520A1 #9520A1
triadic
#5520A1 #A15520 #20A155
tetradic
#5520A1 #A1202C #6CA120 #20A195
square
#5520A1 #A1202C #6CA120 #20A195
split-complementary
#5520A1 #A19520 #2CA120
monochromatic
#1F0C3B #3A166E #5520A1 #702AD4 #925DDF

Accessibility & contrast

On white

9.96
#5520A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5520A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5520A1
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5520A1#FFFFFF#000000##FFFFFF
##5520A11.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#3F4561
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5520a1;
/* rgb */ color: rgb(85, 32, 161);
/* oklch */ color: oklch(40.4% 0.189 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d63be',
    500: '#5520a1',
    950: '#000000',
  },
}
SCSS
$custom: #5520a1;
$custom-light: #8d63be;
$custom-dark: #000000;
JSON
{
  "hex": "#5520a1",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 264.651,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.18903,
    "h": 295
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#5520A1
secondary
#98C35A
accent
#EA3EA3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5520A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5520A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva