#522C92#522C92
#522C92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.158 H 295.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #522C92 |
|---|---|
| RGB | rgb(82, 44, 146) |
| HSL | hsl(262, 54%, 37%) |
| HSV | hsv(262, 70%, 57%) |
| CMYK | cmyk(43.8%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(28.56, 40.50, -50.01) |
| CIE-LCH | lch(28.56, 64.35, 309.00°) |
| OKLab | oklab(40.2% 0.068 -0.143) |
| OKLCH | oklch(40.2% 0.158 295.4) |
| XYZ | xyz(9.5673, 5.6703, 27.7790) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.04
Darkslateblue
#483D8B
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 6.81
Blueberry
#464196
ΔE00 6.91
Indigo
#4B0082
ΔE00 7.10
Ocean Blue
#4F42B5
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522C92 #6C922C
analogous
#2C3992 #522C92 #852C92
triadic
#522C92 #92522C #2C9252
tetradic
#522C92 #922C39 #6C922C #2C9285
square
#522C92 #922C39 #6C922C #2C9285
split-complementary
#522C92 #92852C #39922C
monochromatic
#1D1034 #381E63 #522C92 #6C3AC1 #8F67D1
Accessibility & contrast
On white
9.84
#522C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#522C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522C92
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522C92 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#41455B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #522c92; /* rgb */ color: rgb(82, 44, 146); /* oklch */ color: oklch(40.2% 0.158 295.4);
Tailwind
colors: {
custom: {
50: '#8868b3',
500: '#522c92',
950: '#000000',
},
}SCSS
$custom: #522c92; $custom-light: #8868b3; $custom-dark: #000000;
JSON
{
"hex": "#522c92",
"rgb": {
"r": 82,
"g": 44,
"b": 146
},
"hsl": {
"h": 262.353,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.40196,
"c": 0.15832,
"h": 295.4
},
"luminance": 0.05671
}Semantic roles & 50–950 ramp
primary
#522C92
secondary
#98B862
accent
#DD4BA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80