#5B3FC9#5B3FC9
#5B3FC9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.5% C 0.202 H 285.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5B3FC9 |
|---|---|
| RGB | rgb(91, 63, 201) |
| HSL | hsl(252, 56%, 52%) |
| HSV | hsv(252, 69%, 79%) |
| CMYK | cmyk(54.7%, 68.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.83, 47.62, -67.71) |
| CIE-LCH | lch(37.83, 82.78, 305.12°) |
| OKLab | oklab(48.47% 0.0535 -0.1947) |
| OKLCH | oklch(48.47% 0.202 285.4) |
| XYZ | xyz(16.6313, 9.9953, 56.2999) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.21
Blue With A Hint Of Purple
#533CC6
ΔE00 1.43
Blurple
#5539CC
ΔE00 1.61
Ocean Blue
#4F42B5
ΔE00 3.50
Purpley Blue
#5F34E7
ΔE00 4.10
Burple
#6832E3
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B3FC9 #ADC93F
analogous
#3F68C9 #5B3FC9 #A03FC9
triadic
#5B3FC9 #C95B3F #3FC95B
tetradic
#5B3FC9 #C93F68 #ADC93F #3FC9A0
square
#5B3FC9 #C93F68 #ADC93F #3FC9A0
split-complementary
#5B3FC9 #C9A03F #68C93F
monochromatic
#2F1F6F #442D9E #5B3FC9 #846FD6 #AD9FE4
Accessibility & contrast
On white
7.00
#5B3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#5B3FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B3FC9
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B3FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B3FC9 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#2A637F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5b3fc9; /* rgb */ color: rgb(91, 63, 201); /* oklch */ color: oklch(48.5% 0.202 285.4);
Tailwind
colors: {
custom: {
50: '#9476da',
500: '#5b3fc9',
950: '#000000',
},
}SCSS
$custom: #5b3fc9; $custom-light: #9476da; $custom-dark: #000000;
JSON
{
"hex": "#5b3fc9",
"rgb": {
"r": 91,
"g": 63,
"b": 201
},
"hsl": {
"h": 252.174,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.48471,
"c": 0.2019,
"h": 285.4
},
"luminance": 0.09996
}Semantic roles & 50–950 ramp
primary
#5B3FC9
secondary
#C4D094
accent
#DF48C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83