#522F92#522F92
#522F92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.154 H 294.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #522F92 |
|---|---|
| RGB | rgb(82, 47, 146) |
| HSL | hsl(261, 51%, 38%) |
| HSV | hsv(261, 68%, 57%) |
| CMYK | cmyk(43.8%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(29.16, 38.85, -49.04) |
| CIE-LCH | lch(29.16, 62.56, 308.39°) |
| OKLab | oklab(40.63% 0.0648 -0.1401) |
| OKLCH | oklch(40.63% 0.154 294.8) |
| XYZ | xyz(9.6831, 5.9020, 27.8176) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.88
Darkslateblue
#483D8B
ΔE00 5.17
Blueberry
#464196
ΔE00 6.25
Indigo Blue
#3A18B1
ΔE00 7.22
Ocean Blue
#4F42B5
ΔE00 7.41
Indigo
#4B0082
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522F92 #6F922F
analogous
#2F3E92 #522F92 #832F92
triadic
#522F92 #92522F #2F9252
tetradic
#522F92 #922F3E #6F922F #2F9283
square
#522F92 #922F3E #6F922F #2F9283
split-complementary
#522F92 #92832F #3E922F
monochromatic
#1E1135 #382064 #522F92 #6C3EC0 #8F6CD0
Accessibility & contrast
On white
9.63
#522F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#522F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522F92
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522F92 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#41475C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #522f92; /* rgb */ color: rgb(82, 47, 146); /* oklch */ color: oklch(40.6% 0.154 294.8);
Tailwind
colors: {
custom: {
50: '#886ab3',
500: '#522f92',
950: '#000000',
},
}SCSS
$custom: #522f92; $custom-light: #886ab3; $custom-dark: #000000;
JSON
{
"hex": "#522f92",
"rgb": {
"r": 82,
"g": 47,
"b": 146
},
"hsl": {
"h": 261.212,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40626,
"c": 0.15436,
"h": 294.8
},
"luminance": 0.05902
}Semantic roles & 50–950 ramp
primary
#522F92
secondary
#9AB766
accent
#DB4DA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80