#5F3FD1#5F3FD1
#5F3FD1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.211 H 285.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FD1 |
|---|---|
| RGB | rgb(95, 63, 209) |
| HSL | hsl(253, 61%, 53%) |
| HSV | hsv(253, 70%, 82%) |
| CMYK | cmyk(54.5%, 69.9%, 0%, 18%) |
| CIE-LAB | lab(38.88, 50.58, -70.61) |
| CIE-LCH | lch(38.88, 86.86, 305.61°) |
| OKLab | oklab(49.52% 0.0576 -0.2031) |
| OKLCH | oklch(49.52% 0.211 285.8) |
| XYZ | xyz(18.0020, 10.5904, 61.4048) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.46
Blurple
#5539CC
ΔE00 2.15
Blue With A Hint Of Purple
#533CC6
ΔE00 2.47
Purpley Blue
#5F34E7
ΔE00 3.13
Burple
#6832E3
ΔE00 3.27
Bluish Purple
#703BE7
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FD1 #B1D13F
analogous
#3F68D1 #5F3FD1 #A83FD1
triadic
#5F3FD1 #D15F3F #3FD15F
tetradic
#5F3FD1 #D13F68 #B1D13F #3FD1A8
square
#5F3FD1 #D13F68 #B1D13F #3FD1A8
split-complementary
#5F3FD1 #D1A83F #68D13F
monochromatic
#311D79 #4529AA #5F3FD1 #8870DD #B1A2E9
Accessibility & contrast
On white
6.73
#5F3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#5F3FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FD1
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FD1 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0057CE
Tritanopia (blue-blind)
#2D6583
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f3fd1; /* rgb */ color: rgb(95, 63, 209); /* oklch */ color: oklch(49.5% 0.211 285.8);
Tailwind
colors: {
custom: {
50: '#9777e0',
500: '#5f3fd1',
950: '#000000',
},
}SCSS
$custom: #5f3fd1; $custom-light: #9777e0; $custom-dark: #000000;
JSON
{
"hex": "#5f3fd1",
"rgb": {
"r": 95,
"g": 63,
"b": 209
},
"hsl": {
"h": 253.151,
"s": 61.345,
"l": 53.333
},
"oklch": {
"l": 0.49519,
"c": 0.2111,
"h": 285.8
},
"luminance": 0.10591
}Semantic roles & 50–950 ramp
primary
#5F3FD1
secondary
#C8D597
accent
#E443C1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83