#5B3FDD#5B3FDD
#5B3FDD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.226 H 282.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B3FDD |
|---|---|
| RGB | rgb(91, 63, 221) |
| HSL | hsl(251, 70%, 56%) |
| HSV | hsv(251, 71%, 87%) |
| CMYK | cmyk(58.8%, 71.5%, 0%, 13.3%) |
| CIE-LAB | lab(39.58, 53.51, -76.38) |
| CIE-LCH | lch(39.58, 93.26, 305.01°) |
| OKLab | oklab(50.25% 0.0498 -0.2201) |
| OKLCH | oklch(50.25% 0.226 282.7) |
| XYZ | xyz(19.1390, 10.9983, 69.5070) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.30
Purpleish Blue
#6140EF
ΔE00 2.56
Burple
#6832E3
ΔE00 2.94
Blurple
#5539CC
ΔE00 2.94
Bluey Purple
#6241C7
ΔE00 3.01
Bluish Purple
#703BE7
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B3FDD #C1DD3F
analogous
#3F72DD #5B3FDD #AA3FDD
triadic
#5B3FDD #DD5B3F #3FDD5B
tetradic
#5B3FDD #DD3F72 #C1DD3F #3FDDAA
square
#5B3FDD #DD3F72 #C1DD3F #3FDDAA
split-complementary
#5B3FDD #DDAA3F #72DD3F
monochromatic
#2C1889 #3D22BD #5B3FDD #8773E6 #B4A7EF
Accessibility & contrast
On white
6.56
#5B3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5B3FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B3FDD
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B3FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B3FDD | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5b3fdd; /* rgb */ color: rgb(91, 63, 221); /* oklch */ color: oklch(50.2% 0.226 282.7);
Tailwind
colors: {
custom: {
50: '#9777e9',
500: '#5b3fdd',
950: '#000000',
},
}SCSS
$custom: #5b3fdd; $custom-light: #9777e9; $custom-dark: #000000;
JSON
{
"hex": "#5b3fdd",
"rgb": {
"r": 91,
"g": 63,
"b": 221
},
"hsl": {
"h": 250.633,
"s": 69.912,
"l": 55.686
},
"oklch": {
"l": 0.50249,
"c": 0.22566,
"h": 282.7
},
"luminance": 0.11
}Semantic roles & 50–950 ramp
primary
#5B3FDD
secondary
#D1DD9B
accent
#ED3BCD
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84