#522E95#522E95
#522E95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.159 H 294.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #522E95 |
|---|---|
| RGB | rgb(82, 46, 149) |
| HSL | hsl(261, 53%, 38%) |
| HSV | hsv(261, 69%, 58%) |
| CMYK | cmyk(45%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(29.20, 40.25, -50.82) |
| CIE-LCH | lch(29.20, 64.83, 308.38°) |
| OKLab | oklab(40.73% 0.0654 -0.1453) |
| OKLCH | oklch(40.73% 0.159 294.2) |
| XYZ | xyz(9.8800, 5.9175, 29.0496) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.94
Darkslateblue
#483D8B
ΔE00 5.51
Blueberry
#464196
ΔE00 6.41
Indigo Blue
#3A18B1
ΔE00 6.70
Ocean Blue
#4F42B5
ΔE00 7.20
Indigo
#4B0082
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522E95 #71952E
analogous
#2E3D95 #522E95 #852E95
triadic
#522E95 #95522E #2E9552
tetradic
#522E95 #952E3D #71952E #2E9585
square
#522E95 #952E3D #71952E #2E9585
split-complementary
#522E95 #95852E #3D952E
monochromatic
#1F1137 #382066 #522E95 #6C3DC3 #8F6CD2
Accessibility & contrast
On white
9.62
#522E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#522E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522E95
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522E95 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#3F475D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #522e95; /* rgb */ color: rgb(82, 46, 149); /* oklch */ color: oklch(40.7% 0.159 294.2);
Tailwind
colors: {
custom: {
50: '#8969b5',
500: '#522e95',
950: '#000000',
},
}SCSS
$custom: #522e95; $custom-light: #8969b5; $custom-dark: #000000;
JSON
{
"hex": "#522e95",
"rgb": {
"r": 82,
"g": 46,
"b": 149
},
"hsl": {
"h": 260.971,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40729,
"c": 0.15938,
"h": 294.2
},
"luminance": 0.05918
}Semantic roles & 50–950 ramp
primary
#522E95
secondary
#9CB966
accent
#DC4CAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80