#522F90#522F90
#522F90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.152 H 295.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #522F90 |
|---|---|
| RGB | rgb(82, 47, 144) |
| HSL | hsl(262, 51%, 37%) |
| HSV | hsv(262, 67%, 56%) |
| CMYK | cmyk(43.1%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(29.01, 38.29, -48.06) |
| CIE-LCH | lch(29.01, 61.45, 308.54°) |
| OKLab | oklab(40.46% 0.065 -0.1372) |
| OKLCH | oklch(40.46% 0.152 295.4) |
| XYZ | xyz(9.5289, 5.8403, 27.0054) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.91
Darkslateblue
#483D8B
ΔE00 5.11
Blueberry
#464196
ΔE00 6.32
Indigo Blue
#3A18B1
ΔE00 7.48
Ocean Blue
#4F42B5
ΔE00 7.67
Indigo
#4B0082
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522F90 #6D902F
analogous
#2F3D90 #522F90 #822F90
triadic
#522F90 #90522F #2F9052
tetradic
#522F90 #902F3D #6D902F #2F9082
square
#522F90 #902F3D #6D902F #2F9082
split-complementary
#522F90 #90822F #3D902F
monochromatic
#1D1134 #382062 #522F90 #6C3EBE #8F6BCF
Accessibility & contrast
On white
9.69
#522F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#522F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522F90
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522F90 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#42465B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #522f90; /* rgb */ color: rgb(82, 47, 144); /* oklch */ color: oklch(40.5% 0.152 295.4);
Tailwind
colors: {
custom: {
50: '#886ab1',
500: '#522f90',
950: '#000000',
},
}SCSS
$custom: #522f90; $custom-light: #886ab1; $custom-dark: #000000;
JSON
{
"hex": "#522f90",
"rgb": {
"r": 82,
"g": 47,
"b": 144
},
"hsl": {
"h": 261.649,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.40462,
"c": 0.15188,
"h": 295.4
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#522F90
secondary
#99B665
accent
#DA4EA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80