#5F3CBD#5F3CBD
#5F3CBD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.191 H 289.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3CBD |
|---|---|
| RGB | rgb(95, 60, 189) |
| HSL | hsl(256, 52%, 49%) |
| HSV | hsv(256, 68%, 74%) |
| CMYK | cmyk(49.7%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(36.63, 46.43, -62.65) |
| CIE-LCH | lch(36.63, 77.98, 306.54°) |
| OKLab | oklab(47.39% 0.0638 -0.1797) |
| OKLCH | oklch(47.39% 0.191 289.5) |
| XYZ | xyz(15.5178, 9.3381, 49.1190) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.96
Blue With A Hint Of Purple
#533CC6
ΔE00 2.26
Blurple
#5539CC
ΔE00 2.57
Ocean Blue
#4F42B5
ΔE00 3.38
Purple Blue
#5D21D0
ΔE00 5.13
Burple
#6832E3
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3CBD #9ABD3C
analogous
#3C5ABD #5F3CBD #A03CBD
triadic
#5F3CBD #BD5F3C #3CBD5F
tetradic
#5F3CBD #BD3C5A #9ABD3C #3CBDA0
square
#5F3CBD #BD3C5A #9ABD3C #3CBDA0
split-complementary
#5F3CBD #BDA03C #5ABD3C
monochromatic
#301F60 #482D8F #5F3CBD #8367CF #A996DE
Accessibility & contrast
On white
7.32
#5F3CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#5F3CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F3CBD
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3CBD | 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)
#0059C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#3F5C78
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5f3cbd; /* rgb */ color: rgb(95, 60, 189); /* oklch */ color: oklch(47.4% 0.191 289.5);
Tailwind
colors: {
custom: {
50: '#9574d2',
500: '#5f3cbd',
950: '#000000',
},
}SCSS
$custom: #5f3cbd; $custom-light: #9574d2; $custom-dark: #000000;
JSON
{
"hex": "#5f3cbd",
"rgb": {
"r": 95,
"g": 60,
"b": 189
},
"hsl": {
"h": 256.279,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.4739,
"c": 0.19069,
"h": 289.5
},
"luminance": 0.09339
}Semantic roles & 50–950 ramp
primary
#5F3CBD
secondary
#B8C98C
accent
#DB4DB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83