#5F3FD5#5F3FD5
#5F3FD5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.216 H 285.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FD5 |
|---|---|
| RGB | rgb(95, 63, 213) |
| HSL | hsl(253, 64%, 54%) |
| HSV | hsv(253, 70%, 84%) |
| CMYK | cmyk(55.4%, 70.4%, 0%, 16.5%) |
| CIE-LAB | lab(39.23, 51.74, -72.36) |
| CIE-LCH | lch(39.23, 88.95, 305.57°) |
| OKLab | oklab(49.87% 0.0569 -0.2082) |
| OKLCH | oklch(49.87% 0.216 285.3) |
| XYZ | xyz(18.5034, 10.7909, 64.0457) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.93
Blurple
#5539CC
ΔE00 2.43
Purpley Blue
#5F34E7
ΔE00 2.76
Blue With A Hint Of Purple
#533CC6
ΔE00 2.84
Burple
#6832E3
ΔE00 2.98
Purpleish Blue
#6140EF
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FD5 #B5D53F
analogous
#3F6AD5 #5F3FD5 #AA3FD5
triadic
#5F3FD5 #D55F3F #3FD55F
tetradic
#5F3FD5 #D53F6A #B5D53F #3FD5AA
square
#5F3FD5 #D53F6A #B5D53F #3FD5AA
split-complementary
#5F3FD5 #D5AA3F #6AD53F
monochromatic
#311C7E #4427B0 #5F3FD5 #8971E0 #B3A3EB
Accessibility & contrast
On white
6.65
#5F3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#5F3FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FD5
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FD5 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#286786
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f3fd5; /* rgb */ color: rgb(95, 63, 213); /* oklch */ color: oklch(49.9% 0.216 285.3);
Tailwind
colors: {
custom: {
50: '#9877e3',
500: '#5f3fd5',
950: '#000000',
},
}SCSS
$custom: #5f3fd5; $custom-light: #9877e3; $custom-dark: #000000;
JSON
{
"hex": "#5f3fd5",
"rgb": {
"r": 95,
"g": 63,
"b": 213
},
"hsl": {
"h": 252.8,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.4987,
"c": 0.21582,
"h": 285.3
},
"luminance": 0.10792
}Semantic roles & 50–950 ramp
primary
#5F3FD5
secondary
#CAD898
accent
#E741C4
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84