#5D3FC4#5D3FC4
#5D3FC4 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.196 H 287.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FC4 |
|---|---|
| RGB | rgb(93, 63, 196) |
| HSL | hsl(254, 53%, 51%) |
| HSV | hsv(254, 68%, 77%) |
| CMYK | cmyk(52.6%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(37.60, 46.48, -65.17) |
| CIE-LCH | lch(37.60, 80.04, 305.50°) |
| OKLab | oklab(48.22% 0.0571 -0.1872) |
| OKLCH | oklch(48.22% 0.196 287) |
| XYZ | xyz(16.2526, 9.8669, 53.2620) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.02
Blue With A Hint Of Purple
#533CC6
ΔE00 1.64
Blurple
#5539CC
ΔE00 1.99
Ocean Blue
#4F42B5
ΔE00 3.23
Burple
#6832E3
ΔE00 4.65
Purpley Blue
#5F34E7
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FC4 #A6C43F
analogous
#3F63C4 #5D3FC4 #9F3FC4
triadic
#5D3FC4 #C45D3F #3FC45D
tetradic
#5D3FC4 #C43F63 #A6C43F #3FC49F
square
#5D3FC4 #C43F63 #A6C43F #3FC49F
split-complementary
#5D3FC4 #C49F3F #63C43F
monochromatic
#302068 #462E97 #5D3FC4 #846ED2 #AC9DE1
Accessibility & contrast
On white
7.06
#5D3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#5D3FC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D3FC4
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FC4 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#34617C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d3fc4; /* rgb */ color: rgb(93, 63, 196); /* oklch */ color: oklch(48.2% 0.196 287.0);
Tailwind
colors: {
custom: {
50: '#9476d7',
500: '#5d3fc4',
950: '#000000',
},
}SCSS
$custom: #5d3fc4; $custom-light: #9476d7; $custom-dark: #000000;
JSON
{
"hex": "#5d3fc4",
"rgb": {
"r": 93,
"g": 63,
"b": 196
},
"hsl": {
"h": 253.534,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.48221,
"c": 0.19566,
"h": 287
},
"luminance": 0.09868
}Semantic roles & 50–950 ramp
primary
#5D3FC4
secondary
#C0CD92
accent
#DC4BBC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83