#5A36CD#5A36CD
#5A36CD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.216 H 285.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5A36CD |
|---|---|
| RGB | rgb(90, 54, 205) |
| HSL | hsl(254, 60%, 51%) |
| HSV | hsv(254, 74%, 80%) |
| CMYK | cmyk(56.1%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(36.40, 53.34, -72.38) |
| CIE-LCH | lch(36.40, 89.92, 306.39°) |
| OKLab | oklab(47.54% 0.0585 -0.2084) |
| OKLCH | oklch(47.54% 0.216 285.7) |
| XYZ | xyz(16.5517, 9.2188, 58.6530) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 0.95
Blue With A Hint Of Purple
#533CC6
ΔE00 1.87
Bluey Purple
#6241C7
ΔE00 2.77
Purpley Blue
#5F34E7
ΔE00 3.35
Burple
#6832E3
ΔE00 3.44
Purple Blue
#5D21D0
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A36CD #A9CD36
analogous
#365DCD #5A36CD #A636CD
triadic
#5A36CD #CD5A36 #36CD5A
tetradic
#5A36CD #CD365D #A9CD36 #36CDA6
square
#5A36CD #CD365D #A9CD36 #36CDA6
split-complementary
#5A36CD #CDA636 #5DCD36
monochromatic
#2F1B6D #44279E #5A36CD #8267D9 #AA98E5
Accessibility & contrast
On white
7.38
#5A36CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#5A36CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A36CD
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A36CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A36CD | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#22607F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5a36cd; /* rgb */ color: rgb(90, 54, 205); /* oklch */ color: oklch(47.5% 0.216 285.7);
Tailwind
colors: {
custom: {
50: '#9571dd',
500: '#5a36cd',
950: '#000000',
},
}SCSS
$custom: #5a36cd; $custom-light: #9571dd; $custom-dark: #000000;
JSON
{
"hex": "#5a36cd",
"rgb": {
"r": 90,
"g": 54,
"b": 205
},
"hsl": {
"h": 254.305,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.47539,
"c": 0.21644,
"h": 285.7
},
"luminance": 0.0922
}Semantic roles & 50–950 ramp
primary
#5A36CD
secondary
#C1D18E
accent
#E344BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83