#5B3CDF#5B3CDF
#5B3CDF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.231 H 282.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5B3CDF |
|---|---|
| RGB | rgb(91, 60, 223) |
| HSL | hsl(251, 72%, 55%) |
| HSV | hsv(251, 73%, 87%) |
| CMYK | cmyk(59.2%, 73.1%, 0%, 12.5%) |
| CIE-LAB | lab(39.21, 55.63, -78.13) |
| CIE-LCH | lch(39.21, 95.91, 305.45°) |
| OKLab | oklab(50.04% 0.0515 -0.2252) |
| OKLCH | oklch(50.04% 0.231 282.9) |
| XYZ | xyz(19.2454, 10.7823, 70.8648) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.69
Burple
#6832E3
ΔE00 2.43
Purpleish Blue
#6140EF
ΔE00 2.61
Blurple
#5539CC
ΔE00 2.84
Bluish Purple
#703BE7
ΔE00 3.15
Bluey Purple
#6241C7
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B3CDF #C0DF3C
analogous
#3C6EDF #5B3CDF #AC3CDF
triadic
#5B3CDF #DF5B3C #3CDF5B
tetradic
#5B3CDF #DF3C6E #C0DF3C #3CDFAC
square
#5B3CDF #DF3C6E #C0DF3C #3CDFAC
split-complementary
#5B3CDF #DFAC3C #6EDF3C
monochromatic
#2D178A #3E1FBF #5B3CDF #8771E8 #B3A5F0
Accessibility & contrast
On white
6.65
#5B3CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#5B3CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B3CDF
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B3CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B3CDF | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5b3cdf; /* rgb */ color: rgb(91, 60, 223); /* oklch */ color: oklch(50.0% 0.231 282.9);
Tailwind
colors: {
custom: {
50: '#9875ea',
500: '#5b3cdf',
950: '#000000',
},
}SCSS
$custom: #5b3cdf; $custom-light: #9875ea; $custom-dark: #000000;
JSON
{
"hex": "#5b3cdf",
"rgb": {
"r": 91,
"g": 60,
"b": 223
},
"hsl": {
"h": 251.411,
"s": 71.806,
"l": 55.49
},
"oklch": {
"l": 0.50045,
"c": 0.231,
"h": 282.9
},
"luminance": 0.10784
}Semantic roles & 50–950 ramp
primary
#5B3CDF
secondary
#D0DD99
accent
#EF39CC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84