#5331E6#5331E6
#5331E6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.250 H 280.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5331E6 |
|---|---|
| RGB | rgb(83, 49, 230) |
| HSL | hsl(251, 78%, 55%) |
| HSV | hsv(251, 79%, 90%) |
| CMYK | cmyk(63.9%, 78.7%, 0%, 9.8%) |
| CIE-LAB | lab(37.38, 61.96, -85.16) |
| CIE-LCH | lch(37.38, 105.31, 306.04°) |
| OKLab | oklab(48.8% 0.045 -0.2458) |
| OKLCH | oklch(48.8% 0.25 280.4) |
| XYZ | xyz(18.9440, 9.7473, 75.7307) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.62
Burple
#6832E3
ΔE00 2.59
Light Royal Blue
#3A2EFE
ΔE00 2.88
Purplish Blue
#601EF9
ΔE00 3.10
Blurple
#5539CC
ΔE00 3.26
Purply Blue
#661AEE
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5331E6 #C4E631
analogous
#3169E6 #5331E6 #AE31E6
triadic
#5331E6 #E65331 #31E653
tetradic
#5331E6 #E63169 #C4E631 #31E6AE
square
#5331E6 #E63169 #C4E631 #31E6AE
split-complementary
#5331E6 #E6AE31 #69E631
monochromatic
#28118C #3818C2 #5331E6 #8168ED #AE9EF3
Accessibility & contrast
On white
7.12
#5331E6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#5331E6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5331E6
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5331E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5331E6 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EEB
Deuteranopia (green-blind)
#0051E3
Tritanopia (blue-blind)
#00688C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5331e6; /* rgb */ color: rgb(83, 49, 230); /* oklch */ color: oklch(48.8% 0.250 280.4);
Tailwind
colors: {
custom: {
50: '#966fef',
500: '#5331e6',
950: '#000000',
},
}SCSS
$custom: #5331e6; $custom-light: #966fef; $custom-dark: #000000;
JSON
{
"hex": "#5331e6",
"rgb": {
"r": 83,
"g": 49,
"b": 230
},
"hsl": {
"h": 251.271,
"s": 78.355,
"l": 54.706
},
"oklch": {
"l": 0.48801,
"c": 0.24991,
"h": 280.4
},
"luminance": 0.09749
}Semantic roles & 50–950 ramp
primary
#5331E6
secondary
#D1E093
accent
#F533D0
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0817
muted
#7F7B85