#5330C2#5330C2
#5330C2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.210 H 285.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5330C2 |
|---|---|
| RGB | rgb(83, 48, 194) |
| HSL | hsl(254, 60%, 47%) |
| HSV | hsv(254, 75%, 76%) |
| CMYK | cmyk(57.2%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(33.66, 52.23, -70.49) |
| CIE-LCH | lch(33.66, 87.74, 306.54°) |
| OKLab | oklab(45.14% 0.0555 -0.203) |
| OKLCH | oklch(45.14% 0.21 285.3) |
| XYZ | xyz(14.3589, 7.8471, 51.7865) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.50
Blue With A Hint Of Purple
#533CC6
ΔE00 2.78
Purple Blue
#5D21D0
ΔE00 2.98
Bluey Purple
#6241C7
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.74
Violet Blue
#510AC9
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5330C2 #9FC230
analogous
#3056C2 #5330C2 #9C30C2
triadic
#5330C2 #C25330 #30C253
tetradic
#5330C2 #C23056 #9FC230 #30C29C
square
#5330C2 #C23056 #9FC230 #30C29C
split-complementary
#5330C2 #C29C30 #56C230
monochromatic
#291860 #3E2491 #5330C2 #7759D6 #9F8AE2
Accessibility & contrast
On white
8.17
#5330C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#5330C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5330C2
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5330C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5330C2 | 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)
#0053C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#195977
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5330c2; /* rgb */ color: rgb(83, 48, 194); /* oklch */ color: oklch(45.1% 0.210 285.3);
Tailwind
colors: {
custom: {
50: '#906cd6',
500: '#5330c2',
950: '#000000',
},
}SCSS
$custom: #5330c2; $custom-light: #906cd6; $custom-dark: #000000;
JSON
{
"hex": "#5330c2",
"rgb": {
"r": 83,
"g": 48,
"b": 194
},
"hsl": {
"h": 254.384,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.45139,
"c": 0.21045,
"h": 285.3
},
"luminance": 0.07848
}Semantic roles & 50–950 ramp
primary
#5330C2
secondary
#BACC82
accent
#E344BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83