#5C3FD9#5C3FD9
#5C3FD9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.221 H 283.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5C3FD9 |
|---|---|
| RGB | rgb(92, 63, 217) |
| HSL | hsl(251, 67%, 55%) |
| HSV | hsv(251, 71%, 85%) |
| CMYK | cmyk(57.6%, 71%, 0%, 14.9%) |
| CIE-LAB | lab(39.31, 52.47, -74.53) |
| CIE-LCH | lch(39.31, 91.15, 305.15°) |
| OKLab | oklab(49.97% 0.052 -0.2146) |
| OKLCH | oklch(49.97% 0.221 283.6) |
| XYZ | xyz(18.7117, 10.8389, 66.7383) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.50
Bluey Purple
#6241C7
ΔE00 2.52
Blurple
#5539CC
ΔE00 2.57
Burple
#6832E3
ΔE00 2.99
Purpleish Blue
#6140EF
ΔE00 3.00
Blue With A Hint Of Purple
#533CC6
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C3FD9 #BCD93F
analogous
#3F6FD9 #5C3FD9 #A93FD9
triadic
#5C3FD9 #D95C3F #3FD95C
tetradic
#5C3FD9 #D93F6F #BCD93F #3FD9A9
square
#5C3FD9 #D93F6F #BCD93F #3FD9A9
split-complementary
#5C3FD9 #D9A93F #6FD93F
monochromatic
#2E1A84 #4024B7 #5C3FD9 #8772E3 #B3A5ED
Accessibility & contrast
On white
6.63
#5C3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5C3FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C3FD9
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C3FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C3FD9 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#136988
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5c3fd9; /* rgb */ color: rgb(92, 63, 217); /* oklch */ color: oklch(50.0% 0.221 283.6);
Tailwind
colors: {
custom: {
50: '#9777e6',
500: '#5c3fd9',
950: '#000000',
},
}SCSS
$custom: #5c3fd9; $custom-light: #9777e6; $custom-dark: #000000;
JSON
{
"hex": "#5c3fd9",
"rgb": {
"r": 92,
"g": 63,
"b": 217
},
"hsl": {
"h": 251.299,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.4997,
"c": 0.22085,
"h": 283.6
},
"luminance": 0.1084
}Semantic roles & 50–950 ramp
primary
#5C3FD9
secondary
#CEDA9A
accent
#EA3EC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84