#5432C0#5432C0
#5432C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.206 H 285.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5432C0 |
|---|---|
| RGB | rgb(84, 50, 192) |
| HSL | hsl(254, 59%, 47%) |
| HSV | hsv(254, 74%, 75%) |
| CMYK | cmyk(56.3%, 74%, 0%, 24.7%) |
| CIE-LAB | lab(33.92, 50.80, -68.89) |
| CIE-LCH | lch(33.92, 85.59, 306.41°) |
| OKLab | oklab(45.29% 0.056 -0.1983) |
| OKLCH | oklch(45.29% 0.206 285.8) |
| XYZ | xyz(14.3083, 7.9710, 50.6435) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.36
Blue With A Hint Of Purple
#533CC6
ΔE00 2.49
Purple Blue
#5D21D0
ΔE00 3.34
Bluey Purple
#6241C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.32
Violet Blue
#510AC9
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5432C0 #9EC032
analogous
#3257C0 #5432C0 #9B32C0
triadic
#5432C0 #C05432 #32C054
tetradic
#5432C0 #C03257 #9EC032 #32C09B
square
#5432C0 #C03257 #9EC032 #32C09B
split-complementary
#5432C0 #C09B32 #57C032
monochromatic
#2A195F #3F258F #5432C0 #785BD4 #A08BE1
Accessibility & contrast
On white
8.09
#5432C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#5432C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5432C0
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5432C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5432C0 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#205976
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5432c0; /* rgb */ color: rgb(84, 50, 192); /* oklch */ color: oklch(45.3% 0.206 285.8);
Tailwind
colors: {
custom: {
50: '#906ed4',
500: '#5432c0',
950: '#000000',
},
}SCSS
$custom: #5432c0; $custom-light: #906ed4; $custom-dark: #000000;
JSON
{
"hex": "#5432c0",
"rgb": {
"r": 84,
"g": 50,
"b": 192
},
"hsl": {
"h": 254.366,
"s": 58.678,
"l": 47.451
},
"oklch": {
"l": 0.45289,
"c": 0.20604,
"h": 285.8
},
"luminance": 0.07972
}Semantic roles & 50–950 ramp
primary
#5432C0
secondary
#BACB83
accent
#E246BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83