#522E93#522E93
#522E93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.157 H 294.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #522E93 |
|---|---|
| RGB | rgb(82, 46, 147) |
| HSL | hsl(261, 52%, 38%) |
| HSV | hsv(261, 69%, 58%) |
| CMYK | cmyk(44.2%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(29.04, 39.69, -49.85) |
| CIE-LCH | lch(29.04, 63.72, 308.52°) |
| OKLab | oklab(40.56% 0.0657 -0.1425) |
| OKLCH | oklch(40.56% 0.157 294.8) |
| XYZ | xyz(9.7217, 5.8542, 28.2159) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.94
Ocean Blue
#4F42B5
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522E93 #6F932E
analogous
#2E3C93 #522E93 #842E93
triadic
#522E93 #93522E #2E9352
tetradic
#522E93 #932E3C #6F932E #2E9384
square
#522E93 #932E3C #6F932E #2E9384
split-complementary
#522E93 #93842E #3C932E
monochromatic
#1E1136 #381F64 #522E93 #6C3DC2 #8F6BD1
Accessibility & contrast
On white
9.67
#522E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#522E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522E93
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522E93 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#40465C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #522e93; /* rgb */ color: rgb(82, 46, 147); /* oklch */ color: oklch(40.6% 0.157 294.8);
Tailwind
colors: {
custom: {
50: '#8869b3',
500: '#522e93',
950: '#000000',
},
}SCSS
$custom: #522e93; $custom-light: #8869b3; $custom-dark: #000000;
JSON
{
"hex": "#522e93",
"rgb": {
"r": 82,
"g": 46,
"b": 147
},
"hsl": {
"h": 261.386,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.40563,
"c": 0.15693,
"h": 294.8
},
"luminance": 0.05854
}Semantic roles & 50–950 ramp
primary
#522E93
secondary
#9AB865
accent
#DC4CA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80