#5B36CE#5B36CE
#5B36CE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.217 H 285.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B36CE |
|---|---|
| RGB | rgb(91, 54, 206) |
| HSL | hsl(255, 61%, 51%) |
| HSV | hsv(255, 74%, 81%) |
| CMYK | cmyk(55.8%, 73.8%, 0%, 19.2%) |
| CIE-LAB | lab(36.59, 53.76, -72.65) |
| CIE-LCH | lch(36.59, 90.38, 306.50°) |
| OKLab | oklab(47.72% 0.0597 -0.2091) |
| OKLCH | oklch(47.72% 0.217 285.9) |
| XYZ | xyz(16.7708, 9.3178, 59.2953) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.08
Blue With A Hint Of Purple
#533CC6
ΔE00 2.00
Bluey Purple
#6241C7
ΔE00 2.72
Purpley Blue
#5F34E7
ΔE00 3.19
Burple
#6832E3
ΔE00 3.25
Purple Blue
#5D21D0
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B36CE #A9CE36
analogous
#365DCE #5B36CE #A736CE
triadic
#5B36CE #CE5B36 #36CE5B
tetradic
#5B36CE #CE365D #A9CE36 #36CEA7
square
#5B36CE #CE365D #A9CE36 #36CEA7
split-complementary
#5B36CE #CEA736 #5DCE36
monochromatic
#2F1B6F #4427A0 #5B36CE #8367DA #AB98E6
Accessibility & contrast
On white
7.33
#5B36CE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5B36CE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B36CE
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B36CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B36CE | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#25607F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5b36ce; /* rgb */ color: rgb(91, 54, 206); /* oklch */ color: oklch(47.7% 0.217 285.9);
Tailwind
colors: {
custom: {
50: '#9571de',
500: '#5b36ce',
950: '#000000',
},
}SCSS
$custom: #5b36ce; $custom-light: #9571de; $custom-dark: #000000;
JSON
{
"hex": "#5b36ce",
"rgb": {
"r": 91,
"g": 54,
"b": 206
},
"hsl": {
"h": 254.605,
"s": 60.8,
"l": 50.98
},
"oklch": {
"l": 0.47721,
"c": 0.21749,
"h": 285.9
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#5B36CE
secondary
#C1D28E
accent
#E444BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83