#532CB5#532CB5
#532CB5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.200 H 288.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #532CB5 |
|---|---|
| RGB | rgb(83, 44, 181) |
| HSL | hsl(257, 61%, 44%) |
| HSV | hsv(257, 76%, 71%) |
| CMYK | cmyk(54.1%, 75.7%, 0%, 29%) |
| CIE-LAB | lab(31.75, 50.50, -65.96) |
| CIE-LCH | lch(31.75, 83.07, 307.44°) |
| OKLab | oklab(43.43% 0.0618 -0.1897) |
| OKLCH | oklch(43.43% 0.2 288) |
| XYZ | xyz(12.8060, 6.9759, 44.3788) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.87
Blurple
#5539CC
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 4.42
Violet Blue
#510AC9
ΔE00 4.46
Indigo Blue
#3A18B1
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532CB5 #8EB52C
analogous
#2C4AB5 #532CB5 #982CB5
triadic
#532CB5 #B5532C #2CB553
tetradic
#532CB5 #B52C4A #8EB52C #2CB598
square
#532CB5 #B52C4A #8EB52C #2CB598
split-complementary
#532CB5 #B5982C #4AB52C
monochromatic
#261453 #3C2084 #532CB5 #724BD3 #987CDF
Accessibility & contrast
On white
8.77
#532CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#532CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532CB5
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532CB5 | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#2B526F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #532cb5; /* rgb */ color: rgb(83, 44, 181); /* oklch */ color: oklch(43.4% 0.200 288.0);
Tailwind
colors: {
custom: {
50: '#8e6acc',
500: '#532cb5',
950: '#000000',
},
}SCSS
$custom: #532cb5; $custom-light: #8e6acc; $custom-dark: #000000;
JSON
{
"hex": "#532cb5",
"rgb": {
"r": 83,
"g": 44,
"b": 181
},
"hsl": {
"h": 257.08,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.43426,
"c": 0.19952,
"h": 288
},
"luminance": 0.06977
}Semantic roles & 50–950 ramp
primary
#532CB5
secondary
#B0C875
accent
#E444B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82