#5D36C9#5D36C9
#5D36C9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.212 H 287.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5D36C9 |
|---|---|
| RGB | rgb(93, 54, 201) |
| HSL | hsl(256, 58%, 50%) |
| HSV | hsv(256, 73%, 79%) |
| CMYK | cmyk(53.7%, 73.1%, 0%, 21.2%) |
| CIE-LAB | lab(36.33, 52.64, -70.16) |
| CIE-LCH | lch(36.33, 87.71, 306.88°) |
| OKLab | oklab(47.45% 0.0638 -0.2018) |
| OKLCH | oklch(47.45% 0.212 287.5) |
| XYZ | xyz(16.3729, 9.1817, 56.1565) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.39
Blue With A Hint Of Purple
#533CC6
ΔE00 2.03
Bluey Purple
#6241C7
ΔE00 2.58
Purple Blue
#5D21D0
ΔE00 3.45
Burple
#6832E3
ΔE00 3.66
Purpley Blue
#5F34E7
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D36C9 #A2C936
analogous
#3659C9 #5D36C9 #A636C9
triadic
#5D36C9 #C95D36 #36C95D
tetradic
#5D36C9 #C93659 #A2C936 #36C9A6
square
#5D36C9 #C93659 #A2C936 #36C9A6
split-complementary
#5D36C9 #C9A636 #59C936
monochromatic
#301C69 #472999 #5D36C9 #8466D6 #AB96E3
Accessibility & contrast
On white
7.40
#5D36C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#5D36C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D36C9
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D36C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D36C9 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#315E7D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5d36c9; /* rgb */ color: rgb(93, 54, 201); /* oklch */ color: oklch(47.4% 0.212 287.5);
Tailwind
colors: {
custom: {
50: '#9671db',
500: '#5d36c9',
950: '#000000',
},
}SCSS
$custom: #5d36c9; $custom-light: #9671db; $custom-dark: #000000;
JSON
{
"hex": "#5d36c9",
"rgb": {
"r": 93,
"g": 54,
"b": 201
},
"hsl": {
"h": 255.918,
"s": 57.647,
"l": 50
},
"oklch": {
"l": 0.47449,
"c": 0.21162,
"h": 287.5
},
"luminance": 0.09183
}Semantic roles & 50–950 ramp
primary
#5D36C9
secondary
#BDCE8C
accent
#E147B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83