#522BAC#522BAC
#522BAC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.190 H 289.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #522BAC |
|---|---|
| RGB | rgb(82, 43, 172) |
| HSL | hsl(258, 60%, 42%) |
| HSV | hsv(258, 75%, 67%) |
| CMYK | cmyk(52.3%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(30.64, 48.31, -62.41) |
| CIE-LCH | lch(30.64, 78.93, 307.74°) |
| OKLab | oklab(42.37% 0.0634 -0.1794) |
| OKLCH | oklch(42.37% 0.19 289.5) |
| XYZ | xyz(11.7878, 6.4996, 39.6552) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.54
Purple Blue
#5D21D0
ΔE00 5.00
Violet Blue
#510AC9
ΔE00 5.03
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Rebeccapurple
#663399
ΔE00 5.48
Blurple
#5539CC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522BAC #85AC2B
analogous
#2B44AC #522BAC #932BAC
triadic
#522BAC #AC522B #2BAC52
tetradic
#522BAC #AC2B44 #85AC2B #2BAC93
square
#522BAC #AC2B44 #85AC2B #2BAC93
split-complementary
#522BAC #AC932B #44AC2B
monochromatic
#23134A #3B1F7B #522BAC #6E44D0 #9475DC
Accessibility & contrast
On white
9.13
#522BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#522BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522BAC
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522BAC | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#314E69
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #522bac; /* rgb */ color: rgb(82, 43, 172); /* oklch */ color: oklch(42.4% 0.190 289.5);
Tailwind
colors: {
custom: {
50: '#8c69c6',
500: '#522bac',
950: '#000000',
},
}SCSS
$custom: #522bac; $custom-light: #8c69c6; $custom-dark: #000000;
JSON
{
"hex": "#522bac",
"rgb": {
"r": 82,
"g": 43,
"b": 172
},
"hsl": {
"h": 258.14,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.42365,
"c": 0.19024,
"h": 289.5
},
"luminance": 0.065
}Semantic roles & 50–950 ramp
primary
#522BAC
secondary
#AAC46F
accent
#E345B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82