#532FC4#532FC4
#532FC4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.214 H 285.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #532FC4 |
|---|---|
| RGB | rgb(83, 47, 196) |
| HSL | hsl(254, 61%, 48%) |
| HSV | hsv(254, 76%, 77%) |
| CMYK | cmyk(57.7%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(33.68, 53.29, -71.63) |
| CIE-LCH | lch(33.68, 89.28, 306.65°) |
| OKLab | oklab(45.21% 0.0556 -0.2063) |
| OKLCH | oklch(45.21% 0.214 285.1) |
| XYZ | xyz(14.5446, 7.8567, 52.9639) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.52
Purple Blue
#5D21D0
ΔE00 2.72
Blue With A Hint Of Purple
#533CC6
ΔE00 2.90
Violet Blue
#510AC9
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532FC4 #A0C42F
analogous
#2F55C4 #532FC4 #9E2FC4
triadic
#532FC4 #C4532F #2FC453
tetradic
#532FC4 #C42F55 #A0C42F #2FC49E
square
#532FC4 #C42F55 #A0C42F #2FC49E
split-complementary
#532FC4 #C49E2F #55C42F
monochromatic
#291761 #3E2393 #532FC4 #7759D7 #A08AE3
Accessibility & contrast
On white
8.17
#532FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#532FC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532FC4
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532FC4 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#155A78
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #532fc4; /* rgb */ color: rgb(83, 47, 196); /* oklch */ color: oklch(45.2% 0.214 285.1);
Tailwind
colors: {
custom: {
50: '#906cd7',
500: '#532fc4',
950: '#000000',
},
}SCSS
$custom: #532fc4; $custom-light: #906cd7; $custom-dark: #000000;
JSON
{
"hex": "#532fc4",
"rgb": {
"r": 83,
"g": 47,
"b": 196
},
"hsl": {
"h": 254.497,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.45211,
"c": 0.21371,
"h": 285.1
},
"luminance": 0.07858
}Semantic roles & 50–950 ramp
primary
#532FC4
secondary
#BBCD82
accent
#E443BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83