#5D36CD#5D36CD
#5D36CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.216 H 286.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5D36CD |
|---|---|
| RGB | rgb(93, 54, 205) |
| HSL | hsl(255, 60%, 51%) |
| HSV | hsv(255, 74%, 80%) |
| CMYK | cmyk(54.6%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(36.69, 53.76, -71.90) |
| CIE-LCH | lch(36.69, 89.77, 306.79°) |
| OKLab | oklab(47.81% 0.0628 -0.2069) |
| OKLCH | oklch(47.81% 0.216 286.9) |
| XYZ | xyz(16.8495, 9.3724, 58.6670) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.30
Blue With A Hint Of Purple
#533CC6
ΔE00 2.14
Bluey Purple
#6241C7
ΔE00 2.60
Burple
#6832E3
ΔE00 3.20
Purpley Blue
#5F34E7
ΔE00 3.26
Purple Blue
#5D21D0
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D36CD #A6CD36
analogous
#365ACD #5D36CD #A836CD
triadic
#5D36CD #CD5D36 #36CD5D
tetradic
#5D36CD #CD365A #A6CD36 #36CDA8
square
#5D36CD #CD365A #A6CD36 #36CDA8
split-complementary
#5D36CD #CDA836 #5ACD36
monochromatic
#301B6D #46279E #5D36CD #8467D9 #AC98E5
Accessibility & contrast
On white
7.31
#5D36CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#5D36CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D36CD
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D36CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D36CD | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2C607F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5d36cd; /* rgb */ color: rgb(93, 54, 205); /* oklch */ color: oklch(47.8% 0.216 286.9);
Tailwind
colors: {
custom: {
50: '#9671dd',
500: '#5d36cd',
950: '#000000',
},
}SCSS
$custom: #5d36cd; $custom-light: #9671dd; $custom-dark: #000000;
JSON
{
"hex": "#5d36cd",
"rgb": {
"r": 93,
"g": 54,
"b": 205
},
"hsl": {
"h": 255.497,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.47812,
"c": 0.21619,
"h": 286.9
},
"luminance": 0.09373
}Semantic roles & 50–950 ramp
primary
#5D36CD
secondary
#C0D18E
accent
#E344BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83