#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 |
|---|---|
| RGB | rgb(85, 32, 161) |
| HSL | hsl(265, 67%, 38%) |
| HSV | hsv(265, 80%, 63%) |
| CMYK | cmyk(47.2%, 80.1%, 0%, 36.9%) |
| CIE-LAB | lab(28.21, 50.81, -59.74) |
| CIE-LCH | lch(28.21, 78.43, 310.38°) |
| OKLab | oklab(40.44% 0.0798 -0.1713) |
| OKLCH | oklch(40.44% 0.189 295) |
| XYZ | xyz(10.6941, 5.5372, 34.2166) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.49
Rebeccapurple
#663399
ΔE00 5.34
Violet Blue
#510AC9
ΔE00 5.45
Indigo
#4B0082
ΔE00 6.33
Purple Blue
#5D21D0
ΔE00 6.49
Ultramarine
#2000B1
ΔE00 7.19
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 |
|---|---|---|---|---|
| ##5520A1 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.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