#5E36D2#5E36D2
#5E36D2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.222 H 286.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5E36D2 |
|---|---|
| RGB | rgb(94, 54, 210) |
| HSL | hsl(255, 63%, 52%) |
| HSV | hsv(255, 74%, 82%) |
| CMYK | cmyk(55.2%, 74.3%, 0%, 17.6%) |
| CIE-LAB | lab(37.24, 55.30, -73.88) |
| CIE-LCH | lch(37.24, 92.29, 306.81°) |
| OKLab | oklab(48.36% 0.0631 -0.2126) |
| OKLCH | oklch(48.36% 0.222 286.5) |
| XYZ | xyz(17.5646, 9.6702, 61.9013) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.59
Blue With A Hint Of Purple
#533CC6
ΔE00 2.52
Burple
#6832E3
ΔE00 2.57
Purpley Blue
#5F34E7
ΔE00 2.59
Bluey Purple
#6241C7
ΔE00 2.72
Purple Blue
#5D21D0
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E36D2 #AAD236
analogous
#365CD2 #5E36D2 #AC36D2
triadic
#5E36D2 #D25E36 #36D25E
tetradic
#5E36D2 #D2365C #AAD236 #36D2AC
square
#5E36D2 #D2365C #AAD236 #36D2AC
split-complementary
#5E36D2 #D2AC36 #5CD236
monochromatic
#311A74 #4625A6 #5E36D2 #8668DD #AE9AE8
Accessibility & contrast
On white
7.16
#5E36D2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5E36D2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E36D2
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E36D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E36D2 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#296182
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5e36d2; /* rgb */ color: rgb(94, 54, 210); /* oklch */ color: oklch(48.4% 0.222 286.5);
Tailwind
colors: {
custom: {
50: '#9871e1',
500: '#5e36d2',
950: '#000000',
},
}SCSS
$custom: #5e36d2; $custom-light: #9871e1; $custom-dark: #000000;
JSON
{
"hex": "#5e36d2",
"rgb": {
"r": 94,
"g": 54,
"b": 210
},
"hsl": {
"h": 255.385,
"s": 63.415,
"l": 51.765
},
"oklch": {
"l": 0.48363,
"c": 0.22179,
"h": 286.5
},
"luminance": 0.09671
}Semantic roles & 50–950 ramp
primary
#5E36D2
secondary
#C3D490
accent
#E641BC
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84