#522CD3#522CD3
#522CD3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.233 H 282.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #522CD3 |
|---|---|
| RGB | rgb(82, 44, 211) |
| HSL | hsl(254, 65%, 50%) |
| HSV | hsv(254, 79%, 83%) |
| CMYK | cmyk(61.1%, 79.1%, 0%, 17.3%) |
| CIE-LAB | lab(34.59, 58.77, -78.87) |
| CIE-LCH | lch(34.59, 98.35, 306.69°) |
| OKLab | oklab(46.27% 0.0517 -0.2274) |
| OKLCH | oklch(46.27% 0.233 282.8) |
| XYZ | xyz(16.1346, 8.2972, 62.3667) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.13
Blurple
#5539CC
ΔE00 2.58
Blue With A Hint Of Purple
#533CC6
ΔE00 3.44
Purpley Blue
#5F34E7
ΔE00 3.83
Blue Violet
#5D06E9
ΔE00 3.90
Burple
#6832E3
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522CD3 #ADD32C
analogous
#2C59D3 #522CD3 #A62CD3
triadic
#522CD3 #D3522C #2CD352
tetradic
#522CD3 #D32C59 #ADD32C #2CD3A6
square
#522CD3 #D32C59 #ADD32C #2CD3A6
split-complementary
#522CD3 #D3A62C #59D32C
monochromatic
#2B176E #3E21A0 #522CD3 #7C5FDE #A591E8
Accessibility & contrast
On white
7.90
#522CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#522CD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522CD3
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522CD3 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D8
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #522cd3; /* rgb */ color: rgb(82, 44, 211); /* oklch */ color: oklch(46.3% 0.233 282.8);
Tailwind
colors: {
custom: {
50: '#926be2',
500: '#522cd3',
950: '#000000',
},
}SCSS
$custom: #522cd3; $custom-light: #926be2; $custom-dark: #000000;
JSON
{
"hex": "#522cd3",
"rgb": {
"r": 82,
"g": 44,
"b": 211
},
"hsl": {
"h": 253.653,
"s": 65.49,
"l": 50
},
"oklch": {
"l": 0.46268,
"c": 0.23326,
"h": 282.8
},
"luminance": 0.08298
}Semantic roles & 50–950 ramp
primary
#522CD3
secondary
#C2D388
accent
#E83FC2
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84