#522E96#522E96
#522E96 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.161 H 294.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #522E96 |
|---|---|
| RGB | rgb(82, 46, 150) |
| HSL | hsl(261, 53%, 38%) |
| HSV | hsv(261, 69%, 59%) |
| CMYK | cmyk(45.3%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.29, 40.54, -51.30) |
| CIE-LCH | lch(29.29, 65.38, 308.32°) |
| OKLab | oklab(40.81% 0.0653 -0.1467) |
| OKLCH | oklch(40.81% 0.161 294) |
| XYZ | xyz(9.9602, 5.9496, 29.4718) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.95
Darkslateblue
#483D8B
ΔE00 5.55
Blueberry
#464196
ΔE00 6.40
Indigo Blue
#3A18B1
ΔE00 6.58
Ocean Blue
#4F42B5
ΔE00 7.09
Indigo
#4B0082
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522E96 #72962E
analogous
#2E3E96 #522E96 #862E96
triadic
#522E96 #96522E #2E9652
tetradic
#522E96 #962E3E #72962E #2E9686
square
#522E96 #962E3E #72962E #2E9686
split-complementary
#522E96 #96862E #3E962E
monochromatic
#1F1138 #382067 #522E96 #6C3EC4 #906CD2
Accessibility & contrast
On white
9.59
#522E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#522E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522E96
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522E96 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#3F475E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #522e96; /* rgb */ color: rgb(82, 46, 150); /* oklch */ color: oklch(40.8% 0.161 294.0);
Tailwind
colors: {
custom: {
50: '#8969b6',
500: '#522e96',
950: '#000000',
},
}SCSS
$custom: #522e96; $custom-light: #8969b6; $custom-dark: #000000;
JSON
{
"hex": "#522e96",
"rgb": {
"r": 82,
"g": 46,
"b": 150
},
"hsl": {
"h": 260.769,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.40813,
"c": 0.16061,
"h": 294
},
"luminance": 0.0595
}Semantic roles & 50–950 ramp
primary
#522E96
secondary
#9DB967
accent
#DC4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80