#5C36D5#5C36D5
#5C36D5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.225 H 285.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5C36D5 |
|---|---|
| RGB | rgb(92, 54, 213) |
| HSL | hsl(254, 65%, 52%) |
| HSV | hsv(254, 75%, 84%) |
| CMYK | cmyk(56.8%, 74.6%, 0%, 16.5%) |
| CIE-LAB | lab(37.33, 55.87, -75.48) |
| CIE-LCH | lch(37.33, 93.91, 306.51°) |
| OKLab | oklab(48.46% 0.0594 -0.2174) |
| OKLCH | oklch(48.46% 0.225 285.3) |
| XYZ | xyz(17.7394, 9.7167, 63.8786) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.60
Purpley Blue
#5F34E7
ΔE00 2.27
Burple
#6832E3
ΔE00 2.45
Blue With A Hint Of Purple
#533CC6
ΔE00 2.59
Bluey Purple
#6241C7
ΔE00 2.95
Purple Blue
#5D21D0
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C36D5 #AFD536
analogous
#365FD5 #5C36D5 #AC36D5
triadic
#5C36D5 #D55C36 #36D55C
tetradic
#5C36D5 #D5365F #AFD536 #36D5AC
square
#5C36D5 #D5365F #AFD536 #36D5AC
split-complementary
#5C36D5 #D5AC36 #5FD536
monochromatic
#301978 #4424AA #5C36D5 #8569E0 #AE9BEA
Accessibility & contrast
On white
7.13
#5C36D5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#5C36D5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C36D5
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C36D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C36D5 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#1D6383
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5c36d5; /* rgb */ color: rgb(92, 54, 213); /* oklch */ color: oklch(48.5% 0.225 285.3);
Tailwind
colors: {
custom: {
50: '#9771e3',
500: '#5c36d5',
950: '#000000',
},
}SCSS
$custom: #5c36d5; $custom-light: #9771e3; $custom-dark: #000000;
JSON
{
"hex": "#5c36d5",
"rgb": {
"r": 92,
"g": 54,
"b": 213
},
"hsl": {
"h": 254.34,
"s": 65.432,
"l": 52.353
},
"oklch": {
"l": 0.48461,
"c": 0.22536,
"h": 285.3
},
"luminance": 0.09718
}Semantic roles & 50–950 ramp
primary
#5C36D5
secondary
#C5D691
accent
#E83FC0
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84