#5F3BBA#5F3BBA
#5F3BBA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.188 H 290.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3BBA |
|---|---|
| RGB | rgb(95, 59, 186) |
| HSL | hsl(257, 52%, 48%) |
| HSV | hsv(257, 68%, 73%) |
| CMYK | cmyk(48.9%, 68.3%, 0%, 27.1%) |
| CIE-LAB | lab(36.19, 46.12, -61.61) |
| CIE-LCH | lch(36.19, 76.96, 306.82°) |
| OKLab | oklab(47% 0.0652 -0.1766) |
| OKLCH | oklch(47% 0.188 290.3) |
| XYZ | xyz(15.1437, 9.1054, 47.4044) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.45
Blue With A Hint Of Purple
#533CC6
ΔE00 2.58
Blurple
#5539CC
ΔE00 2.91
Ocean Blue
#4F42B5
ΔE00 3.45
Purple Blue
#5D21D0
ΔE00 5.12
Burple
#6832E3
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3BBA #96BA3B
analogous
#3B56BA #5F3BBA #9E3BBA
triadic
#5F3BBA #BA5F3B #3BBA5F
tetradic
#5F3BBA #BA3B56 #96BA3B #3BBA9E
square
#5F3BBA #BA3B56 #96BA3B #3BBA9E
split-complementary
#5F3BBA #BA9E3B #56BA3B
monochromatic
#301E5D #472C8C #5F3BBA #8264CE #A893DD
Accessibility & contrast
On white
7.44
#5F3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#5F3BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F3BBA
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3BBA | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#415B76
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5f3bba; /* rgb */ color: rgb(95, 59, 186); /* oklch */ color: oklch(47.0% 0.188 290.3);
Tailwind
colors: {
custom: {
50: '#9474d0',
500: '#5f3bba',
950: '#000000',
},
}SCSS
$custom: #5f3bba; $custom-light: #9474d0; $custom-dark: #000000;
JSON
{
"hex": "#5f3bba",
"rgb": {
"r": 95,
"g": 59,
"b": 186
},
"hsl": {
"h": 257.008,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.46999,
"c": 0.18828,
"h": 290.3
},
"luminance": 0.09106
}Semantic roles & 50–950 ramp
primary
#5F3BBA
secondary
#B6C889
accent
#DB4DB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82