#5B3CC2#5B3CC2
#5B3CC2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.197 H 286.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5B3CC2 |
|---|---|
| RGB | rgb(91, 60, 194) |
| HSL | hsl(254, 53%, 50%) |
| HSV | hsv(254, 69%, 76%) |
| CMYK | cmyk(53.1%, 69.1%, 0%, 23.9%) |
| CIE-LAB | lab(36.65, 47.20, -65.56) |
| CIE-LCH | lch(36.65, 80.78, 305.75°) |
| OKLab | oklab(47.44% 0.0573 -0.1884) |
| OKLCH | oklch(47.44% 0.197 286.9) |
| XYZ | xyz(15.6650, 9.3501, 52.0078) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.31
Blurple
#5539CC
ΔE00 1.65
Bluey Purple
#6241C7
ΔE00 1.78
Ocean Blue
#4F42B5
ΔE00 3.16
Burple
#6832E3
ΔE00 4.77
Purpley Blue
#5F34E7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B3CC2 #A3C23C
analogous
#3C60C2 #5B3CC2 #9E3CC2
triadic
#5B3CC2 #C25B3C #3CC25B
tetradic
#5B3CC2 #C23C60 #A3C23C #3CC29E
square
#5B3CC2 #C23C60 #A3C23C #3CC29E
split-complementary
#5B3CC2 #C29E3C #60C23C
monochromatic
#2F1F65 #452E93 #5B3CC2 #826AD1 #A999DF
Accessibility & contrast
On white
7.32
#5B3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#5B3CC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B3CC2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B3CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B3CC2 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#325F7A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5b3cc2; /* rgb */ color: rgb(91, 60, 194); /* oklch */ color: oklch(47.4% 0.197 286.9);
Tailwind
colors: {
custom: {
50: '#9374d5',
500: '#5b3cc2',
950: '#000000',
},
}SCSS
$custom: #5b3cc2; $custom-light: #9374d5; $custom-dark: #000000;
JSON
{
"hex": "#5b3cc2",
"rgb": {
"r": 91,
"g": 60,
"b": 194
},
"hsl": {
"h": 253.881,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.47442,
"c": 0.1969,
"h": 286.9
},
"luminance": 0.09351
}Semantic roles & 50–950 ramp
primary
#5B3CC2
secondary
#BDCB8F
accent
#DC4CBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83