#5B3FC5#5B3FC5
#5B3FC5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.197 H 285.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B3FC5 |
|---|---|
| RGB | rgb(91, 63, 197) |
| HSL | hsl(253, 54%, 51%) |
| HSV | hsv(253, 68%, 77%) |
| CMYK | cmyk(53.8%, 68%, 0%, 22.7%) |
| CIE-LAB | lab(37.50, 46.44, -65.93) |
| CIE-LCH | lch(37.50, 80.64, 305.16°) |
| OKLab | oklab(48.13% 0.0541 -0.1895) |
| OKLCH | oklch(48.13% 0.197 285.9) |
| XYZ | xyz(16.1669, 9.8095, 53.8540) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.23
Blue With A Hint Of Purple
#533CC6
ΔE00 1.35
Blurple
#5539CC
ΔE00 1.77
Ocean Blue
#4F42B5
ΔE00 3.11
Purpley Blue
#5F34E7
ΔE00 4.58
Burple
#6832E3
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B3FC5 #A9C53F
analogous
#3F66C5 #5B3FC5 #9E3FC5
triadic
#5B3FC5 #C55B3F #3FC55B
tetradic
#5B3FC5 #C53F66 #A9C53F #3FC59E
square
#5B3FC5 #C53F66 #A9C53F #3FC59E
split-complementary
#5B3FC5 #C59E3F #66C53F
monochromatic
#2F206A #442E99 #5B3FC5 #836ED3 #AB9DE1
Accessibility & contrast
On white
7.09
#5B3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5B3FC5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B3FC5
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B3FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B3FC5 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#2E617D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5b3fc5; /* rgb */ color: rgb(91, 63, 197); /* oklch */ color: oklch(48.1% 0.197 285.9);
Tailwind
colors: {
custom: {
50: '#9376d8',
500: '#5b3fc5',
950: '#000000',
},
}SCSS
$custom: #5b3fc5; $custom-light: #9376d8; $custom-dark: #000000;
JSON
{
"hex": "#5b3fc5",
"rgb": {
"r": 91,
"g": 63,
"b": 197
},
"hsl": {
"h": 252.537,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.48127,
"c": 0.19704,
"h": 285.9
},
"luminance": 0.0981
}Semantic roles & 50–950 ramp
primary
#5B3FC5
secondary
#C1CE92
accent
#DD4BBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83