#5E36B2#5E36B2
#5E36B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.185 H 292.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5E36B2 |
|---|---|
| RGB | rgb(94, 54, 178) |
| HSL | hsl(259, 53%, 45%) |
| HSV | hsv(259, 70%, 70%) |
| CMYK | cmyk(47.2%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.46, 46.36, -59.69) |
| CIE-LCH | lch(34.46, 75.58, 307.83°) |
| OKLab | oklab(45.54% 0.07 -0.171) |
| OKLCH | oklch(45.54% 0.185 292.2) |
| XYZ | xyz(13.9689, 8.2319, 42.9638) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.78
Blurple
#5539CC
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 4.71
Purple Blue
#5D21D0
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E36B2 #8AB236
analogous
#364CB2 #5E36B2 #9C36B2
triadic
#5E36B2 #B25E36 #36B25E
tetradic
#5E36B2 #B2364C #8AB236 #36B29C
square
#5E36B2 #B2364C #8AB236 #36B29C
split-complementary
#5E36B2 #B29C36 #4CB236
monochromatic
#2C1A54 #452883 #5E36B2 #7E59CD #A288DB
Accessibility & contrast
On white
7.94
#5E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#5E36B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E36B2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E36B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E36B2 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#445570
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e36b2; /* rgb */ color: rgb(94, 54, 178); /* oklch */ color: oklch(45.5% 0.185 292.2);
Tailwind
colors: {
custom: {
50: '#9370ca',
500: '#5e36b2',
950: '#000000',
},
}SCSS
$custom: #5e36b2; $custom-light: #9370ca; $custom-dark: #000000;
JSON
{
"hex": "#5e36b2",
"rgb": {
"r": 94,
"g": 54,
"b": 178
},
"hsl": {
"h": 259.355,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.45537,
"c": 0.18478,
"h": 292.2
},
"luminance": 0.08232
}Semantic roles & 50–950 ramp
primary
#5E36B2
secondary
#AEC57F
accent
#DD4BAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82