#5F3ED0#5F3ED0
#5F3ED0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.211 H 286.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3ED0 |
|---|---|
| RGB | rgb(95, 62, 208) |
| HSL | hsl(254, 61%, 53%) |
| HSV | hsv(254, 70%, 82%) |
| CMYK | cmyk(54.3%, 70.2%, 0%, 18.4%) |
| CIE-LAB | lab(38.61, 50.82, -70.49) |
| CIE-LCH | lch(38.61, 86.90, 305.79°) |
| OKLab | oklab(49.3% 0.0587 -0.2027) |
| OKLCH | oklch(49.3% 0.211 286.1) |
| XYZ | xyz(17.8237, 10.4312, 60.7365) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.41
Blurple
#5539CC
ΔE00 1.95
Blue With A Hint Of Purple
#533CC6
ΔE00 2.31
Purpley Blue
#5F34E7
ΔE00 3.13
Burple
#6832E3
ΔE00 3.22
Bluish Purple
#703BE7
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3ED0 #AFD03E
analogous
#3E66D0 #5F3ED0 #A83ED0
triadic
#5F3ED0 #D05F3E #3ED05F
tetradic
#5F3ED0 #D03E66 #AFD03E #3ED0A8
square
#5F3ED0 #D03E66 #AFD03E #3ED0A8
split-complementary
#5F3ED0 #D0A83E #66D03E
monochromatic
#311D77 #4629A8 #5F3ED0 #886FDC #B1A0E8
Accessibility & contrast
On white
6.80
#5F3ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#5F3ED0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3ED0
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3ED0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3ED0 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0057CD
Tritanopia (blue-blind)
#2E6583
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5f3ed0; /* rgb */ color: rgb(95, 62, 208); /* oklch */ color: oklch(49.3% 0.211 286.1);
Tailwind
colors: {
custom: {
50: '#9776e0',
500: '#5f3ed0',
950: '#000000',
},
}SCSS
$custom: #5f3ed0; $custom-light: #9776e0; $custom-dark: #000000;
JSON
{
"hex": "#5f3ed0",
"rgb": {
"r": 95,
"g": 62,
"b": 208
},
"hsl": {
"h": 253.562,
"s": 60.833,
"l": 52.941
},
"oklch": {
"l": 0.49296,
"c": 0.21102,
"h": 286.1
},
"luminance": 0.10432
}Semantic roles & 50–950 ramp
primary
#5F3ED0
secondary
#C6D495
accent
#E444C0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83