#532AB3#532AB3
#532AB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.199 H 288.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #532AB3 |
|---|---|
| RGB | rgb(83, 42, 179) |
| HSL | hsl(258, 62%, 43%) |
| HSV | hsv(258, 77%, 70%) |
| CMYK | cmyk(53.6%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(31.23, 50.90, -65.63) |
| CIE-LCH | lch(31.23, 83.05, 307.80°) |
| OKLab | oklab(43% 0.0638 -0.1887) |
| OKLCH | oklch(43% 0.199 288.7) |
| XYZ | xyz(12.5295, 6.7490, 43.2816) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.03
Violet Blue
#510AC9
ΔE00 4.29
Indigo Blue
#3A18B1
ΔE00 4.49
Blurple
#5539CC
ΔE00 4.90
Blue With A Hint Of Purple
#533CC6
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532AB3 #8AB32A
analogous
#2A45B3 #532AB3 #972AB3
triadic
#532AB3 #B3532A #2AB353
tetradic
#532AB3 #B32A45 #8AB32A #2AB397
square
#532AB3 #B32A45 #8AB32A #2AB397
split-complementary
#532AB3 #B3972A #45B32A
monochromatic
#251350 #3C1E81 #532AB3 #7146D4 #9778DF
Accessibility & contrast
On white
8.94
#532AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#532AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532AB3
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532AB3 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#2D516D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #532ab3; /* rgb */ color: rgb(83, 42, 179); /* oklch */ color: oklch(43.0% 0.199 288.7);
Tailwind
colors: {
custom: {
50: '#8e68cb',
500: '#532ab3',
950: '#000000',
},
}SCSS
$custom: #532ab3; $custom-light: #8e68cb; $custom-dark: #000000;
JSON
{
"hex": "#532ab3",
"rgb": {
"r": 83,
"g": 42,
"b": 179
},
"hsl": {
"h": 257.956,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.43002,
"c": 0.19923,
"h": 288.7
},
"luminance": 0.0675
}Semantic roles & 50–950 ramp
primary
#532AB3
secondary
#AEC772
accent
#E543B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82