#5520A8#5520A8

#5520A8 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.197 H 293.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5520A8
RGBrgb(85, 32, 168)
HSLhsl(263, 68%, 39%)
HSVhsv(263, 81%, 66%)
CMYKcmyk(49.4%, 81%, 0%, 34.1%)
CIE-LABlab(28.88, 52.62, -62.89)
CIE-LCHlch(28.88, 82.00, 309.92°)
OKLaboklab(41.1% 0.0775 -0.1805)
OKLCHoklch(41.1% 0.197 293.2)
XYZxyz(11.3287, 5.7911, 37.5591)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5520A8 #73A820
analogous
#202FA8 #5520A8 #9920A8
triadic
#5520A8 #A85520 #20A855
tetradic
#5520A8 #A8202F #73A820 #20A899
square
#5520A8 #A8202F #73A820 #20A899
split-complementary
#5520A8 #A89920 #2FA820
monochromatic
#210C41 #3B1675 #5520A8 #702ED7 #9361E1

Accessibility & contrast

On white

9.73
#5520A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5520A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5520A8
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5520A8#FFFFFF#000000##FFFFFF
##5520A81.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#3A4865
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5520a8;
/* rgb */ color: rgb(85, 32, 168);
/* oklch */ color: oklch(41.1% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#8e63c3',
    500: '#5520a8',
    950: '#000000',
  },
}
SCSS
$custom: #5520a8;
$custom-light: #8e63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5520a8",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 263.382,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.411,
    "c": 0.1965,
    "h": 293.2
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#5520A8
secondary
#9DC65E
accent
#EB3DA7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5520A8

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

Preview Lab → · Contrast checker → · Palette generator →

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