#5331C3#5331C3
#5331C3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.211 H 285.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5331C3 |
|---|---|
| RGB | rgb(83, 49, 195) |
| HSL | hsl(254, 60%, 48%) |
| HSV | hsv(254, 75%, 76%) |
| CMYK | cmyk(57.4%, 74.9%, 0%, 23.5%) |
| CIE-LAB | lab(33.93, 52.03, -70.64) |
| CIE-LCH | lch(33.93, 87.73, 306.37°) |
| OKLab | oklab(45.36% 0.0545 -0.2034) |
| OKLCH | oklch(45.36% 0.211 285) |
| XYZ | xyz(14.5129, 7.9749, 52.3937) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.25
Blue With A Hint Of Purple
#533CC6
ΔE00 2.54
Purple Blue
#5D21D0
ΔE00 3.06
Bluey Purple
#6241C7
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 4.59
Violet Blue
#510AC9
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5331C3 #A1C331
analogous
#3158C3 #5331C3 #9C31C3
triadic
#5331C3 #C35331 #31C353
tetradic
#5331C3 #C33158 #A1C331 #31C39C
square
#5331C3 #C33158 #A1C331 #31C39C
split-complementary
#5331C3 #C39C31 #58C331
monochromatic
#291861 #3E2592 #5331C3 #785BD6 #A08CE2
Accessibility & contrast
On white
8.09
#5331C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#5331C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5331C3
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5331C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5331C3 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#175A78
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5331c3; /* rgb */ color: rgb(83, 49, 195); /* oklch */ color: oklch(45.4% 0.211 285.0);
Tailwind
colors: {
custom: {
50: '#906dd6',
500: '#5331c3',
950: '#000000',
},
}SCSS
$custom: #5331c3; $custom-light: #906dd6; $custom-dark: #000000;
JSON
{
"hex": "#5331c3",
"rgb": {
"r": 83,
"g": 49,
"b": 195
},
"hsl": {
"h": 253.973,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.45356,
"c": 0.21062,
"h": 285
},
"luminance": 0.07976
}Semantic roles & 50–950 ramp
primary
#5331C3
secondary
#BBCC83
accent
#E345BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83