#522C90#522C90
#522C90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.156 H 296.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #522C90 |
|---|---|
| RGB | rgb(82, 44, 144) |
| HSL | hsl(263, 53%, 37%) |
| HSV | hsv(263, 69%, 56%) |
| CMYK | cmyk(43.1%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(28.40, 39.94, -49.04) |
| CIE-LCH | lch(28.40, 63.25, 309.16°) |
| OKLab | oklab(40.03% 0.0683 -0.1401) |
| OKLCH | oklch(40.03% 0.156 296) |
| XYZ | xyz(9.4131, 5.6086, 26.9668) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.06
Darkslateblue
#483D8B
ΔE00 5.79
Blueberry
#464196
ΔE00 6.97
Indigo
#4B0082
ΔE00 7.03
Indigo Blue
#3A18B1
ΔE00 7.07
Ocean Blue
#4F42B5
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522C90 #6A902C
analogous
#2C3890 #522C90 #842C90
triadic
#522C90 #90522C #2C9052
tetradic
#522C90 #902C38 #6A902C #2C9084
square
#522C90 #902C38 #6A902C #2C9084
split-complementary
#522C90 #90842C #38902C
monochromatic
#1D0F32 #371E61 #522C90 #6D3ABF #8E66D0
Accessibility & contrast
On white
9.90
#522C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#522C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522C90
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522C90 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#42445A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #522c90; /* rgb */ color: rgb(82, 44, 144); /* oklch */ color: oklch(40.0% 0.156 296.0);
Tailwind
colors: {
custom: {
50: '#8868b1',
500: '#522c90',
950: '#000000',
},
}SCSS
$custom: #522c90; $custom-light: #8868b1; $custom-dark: #000000;
JSON
{
"hex": "#522c90",
"rgb": {
"r": 82,
"g": 44,
"b": 144
},
"hsl": {
"h": 262.8,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.40029,
"c": 0.1559,
"h": 296
},
"luminance": 0.05609
}Semantic roles & 50–950 ramp
primary
#522C90
secondary
#96B761
accent
#DD4BA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80