#522C9E#522C9E
#522C9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.173 H 292.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #522C9E |
|---|---|
| RGB | rgb(82, 44, 158) |
| HSL | hsl(260, 56%, 40%) |
| HSV | hsv(260, 72%, 62%) |
| CMYK | cmyk(48.1%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(29.57, 43.86, -55.71) |
| CIE-LCH | lch(29.57, 70.91, 308.21°) |
| OKLab | oklab(41.23% 0.0658 -0.1597) |
| OKLCH | oklch(41.23% 0.173 292.4) |
| XYZ | xyz(10.5502, 6.0635, 32.9556) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.63
Violet Blue
#510AC9
ΔE00 6.75
Blueberry
#464196
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522C9E #789E2C
analogous
#2C3F9E #522C9E #8B2C9E
triadic
#522C9E #9E522C #2C9E52
tetradic
#522C9E #9E2C3F #789E2C #2C9E8B
square
#522C9E #9E2C3F #789E2C #2C9E8B
split-complementary
#522C9E #9E8B2C #3F9E2C
monochromatic
#20113E #391F6E #522C9E #6C3EC9 #916ED7
Accessibility & contrast
On white
9.49
#522C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#522C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522C9E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522C9E | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#3A4962
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #522c9e; /* rgb */ color: rgb(82, 44, 158); /* oklch */ color: oklch(41.2% 0.173 292.4);
Tailwind
colors: {
custom: {
50: '#8a69bc',
500: '#522c9e',
950: '#000000',
},
}SCSS
$custom: #522c9e; $custom-light: #8a69bc; $custom-dark: #000000;
JSON
{
"hex": "#522c9e",
"rgb": {
"r": 82,
"g": 44,
"b": 158
},
"hsl": {
"h": 260,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.41227,
"c": 0.17273,
"h": 292.4
},
"luminance": 0.06064
}Semantic roles & 50–950 ramp
primary
#522C9E
secondary
#A1BE68
accent
#E048AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81