#5E36CD#5E36CD
#5E36CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.216 H 287.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5E36CD |
|---|---|
| RGB | rgb(94, 54, 205) |
| HSL | hsl(256, 60%, 51%) |
| HSV | hsv(256, 74%, 80%) |
| CMYK | cmyk(54.1%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(36.79, 53.90, -71.73) |
| CIE-LCH | lch(36.79, 89.73, 306.92°) |
| OKLab | oklab(47.91% 0.0643 -0.2063) |
| OKLCH | oklch(47.91% 0.216 287.3) |
| XYZ | xyz(16.9514, 9.4249, 58.6717) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.43
Blue With A Hint Of Purple
#533CC6
ΔE00 2.24
Bluey Purple
#6241C7
ΔE00 2.56
Burple
#6832E3
ΔE00 3.13
Purpley Blue
#5F34E7
ΔE00 3.24
Purple Blue
#5D21D0
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E36CD #A5CD36
analogous
#3659CD #5E36CD #A936CD
triadic
#5E36CD #CD5E36 #36CD5E
tetradic
#5E36CD #CD3659 #A5CD36 #36CDA9
square
#5E36CD #CD3659 #A5CD36 #36CDA9
split-complementary
#5E36CD #CDA936 #59CD36
monochromatic
#311B6D #47279E #5E36CD #8567D9 #AD98E5
Accessibility & contrast
On white
7.28
#5E36CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#5E36CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E36CD
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E36CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E36CD | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2F5F7F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5e36cd; /* rgb */ color: rgb(94, 54, 205); /* oklch */ color: oklch(47.9% 0.216 287.3);
Tailwind
colors: {
custom: {
50: '#9771dd',
500: '#5e36cd',
950: '#000000',
},
}SCSS
$custom: #5e36cd; $custom-light: #9771dd; $custom-dark: #000000;
JSON
{
"hex": "#5e36cd",
"rgb": {
"r": 94,
"g": 54,
"b": 205
},
"hsl": {
"h": 255.894,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.47905,
"c": 0.21612,
"h": 287.3
},
"luminance": 0.09426
}Semantic roles & 50–950 ramp
primary
#5E36CD
secondary
#BFD18E
accent
#E344B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83