#5D36C4#5D36C4
#5D36C4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.206 H 288.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5D36C4 |
|---|---|
| RGB | rgb(93, 54, 196) |
| HSL | hsl(256, 57%, 49%) |
| HSV | hsv(256, 72%, 77%) |
| CMYK | cmyk(52.6%, 72.4%, 0%, 23.1%) |
| CIE-LAB | lab(35.89, 51.23, -67.97) |
| CIE-LCH | lch(35.89, 85.12, 307.01°) |
| OKLab | oklab(47% 0.0649 -0.1954) |
| OKLCH | oklch(47% 0.206 288.4) |
| XYZ | xyz(15.7943, 8.9503, 53.1092) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.75
Blue With A Hint Of Purple
#533CC6
ΔE00 2.09
Bluey Purple
#6241C7
ΔE00 2.69
Purple Blue
#5D21D0
ΔE00 3.58
Burple
#6832E3
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D36C4 #9DC436
analogous
#3656C4 #5D36C4 #A436C4
triadic
#5D36C4 #C45D36 #36C45D
tetradic
#5D36C4 #C43656 #9DC436 #36C4A4
square
#5D36C4 #C43656 #9DC436 #36C4A4
split-complementary
#5D36C4 #C4A436 #56C436
monochromatic
#2F1C64 #462994 #5D36C4 #8263D4 #A993E1
Accessibility & contrast
On white
7.53
#5D36C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#5D36C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D36C4
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D36C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D36C4 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#355C7A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5d36c4; /* rgb */ color: rgb(93, 54, 196); /* oklch */ color: oklch(47.0% 0.206 288.4);
Tailwind
colors: {
custom: {
50: '#9571d7',
500: '#5d36c4',
950: '#000000',
},
}SCSS
$custom: #5d36c4; $custom-light: #9571d7; $custom-dark: #000000;
JSON
{
"hex": "#5d36c4",
"rgb": {
"r": 93,
"g": 54,
"b": 196
},
"hsl": {
"h": 256.479,
"s": 56.8,
"l": 49.02
},
"oklch": {
"l": 0.46999,
"c": 0.20586,
"h": 288.4
},
"luminance": 0.08951
}Semantic roles & 50–950 ramp
primary
#5D36C4
secondary
#BACC89
accent
#E048B6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83