#532CB2#532CB2
#532CB2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.196 H 288.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #532CB2 |
|---|---|
| RGB | rgb(83, 44, 178) |
| HSL | hsl(257, 60%, 44%) |
| HSV | hsv(257, 75%, 70%) |
| CMYK | cmyk(53.4%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(31.47, 49.66, -64.63) |
| CIE-LCH | lch(31.47, 81.50, 307.54°) |
| OKLab | oklab(43.15% 0.0626 -0.1858) |
| OKLCH | oklch(43.15% 0.196 288.6) |
| XYZ | xyz(12.5015, 6.8541, 42.7751) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.23
Violet Blue
#510AC9
ΔE00 4.67
Blue With A Hint Of Purple
#533CC6
ΔE00 4.69
Blurple
#5539CC
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532CB2 #8BB22C
analogous
#2C48B2 #532CB2 #962CB2
triadic
#532CB2 #B2532C #2CB253
tetradic
#532CB2 #B22C48 #8BB22C #2CB296
square
#532CB2 #B22C48 #8BB22C #2CB296
split-complementary
#532CB2 #B2962C #48B22C
monochromatic
#251450 #3C2081 #532CB2 #7149D2 #977ADE
Accessibility & contrast
On white
8.86
#532CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#532CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532CB2
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532CB2 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#2E516D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #532cb2; /* rgb */ color: rgb(83, 44, 178); /* oklch */ color: oklch(43.1% 0.196 288.6);
Tailwind
colors: {
custom: {
50: '#8d69ca',
500: '#532cb2',
950: '#000000',
},
}SCSS
$custom: #532cb2; $custom-light: #8d69ca; $custom-dark: #000000;
JSON
{
"hex": "#532cb2",
"rgb": {
"r": 83,
"g": 44,
"b": 178
},
"hsl": {
"h": 257.463,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.43145,
"c": 0.19608,
"h": 288.6
},
"luminance": 0.06855
}Semantic roles & 50–950 ramp
primary
#532CB2
secondary
#AEC673
accent
#E444B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82