#4E36BE#4E36BE
#4E36BE is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.1% C 0.200 H 282.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4E36BE |
|---|---|
| RGB | rgb(78, 54, 190) |
| HSL | hsl(251, 56%, 48%) |
| HSV | hsv(251, 72%, 75%) |
| CMYK | cmyk(58.9%, 71.6%, 0%, 25.5%) |
| CIE-LAB | lab(33.93, 47.28, -67.72) |
| CIE-LCH | lch(33.93, 82.59, 304.92°) |
| OKLab | oklab(45.1% 0.0448 -0.1951) |
| OKLCH | oklch(45.1% 0.2 282.9) |
| XYZ | xyz(13.7524, 7.9748, 49.5198) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.97
Blurple
#5539CC
ΔE00 2.30
Ocean Blue
#4F42B5
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 4.49
Purpley Blue
#5F34E7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E36BE #A6BE36
analogous
#3662BE #4E36BE #9236BE
triadic
#4E36BE #BE4E36 #36BE4E
tetradic
#4E36BE #BE3662 #A6BE36 #36BE92
square
#4E36BE #BE3662 #A6BE36 #36BE92
split-complementary
#4E36BE #BE9236 #62BE36
monochromatic
#271B5F #3A288E #4E36BE #7460D2 #9D8FDF
Accessibility & contrast
On white
8.09
#4E36BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#4E36BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E36BE
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E36BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E36BE | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#035B76
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4e36be; /* rgb */ color: rgb(78, 54, 190); /* oklch */ color: oklch(45.1% 0.200 282.9);
Tailwind
colors: {
custom: {
50: '#8c70d3',
500: '#4e36be',
950: '#000000',
},
}SCSS
$custom: #4e36be; $custom-light: #8c70d3; $custom-dark: #000000;
JSON
{
"hex": "#4e36be",
"rgb": {
"r": 78,
"g": 54,
"b": 190
},
"hsl": {
"h": 250.588,
"s": 55.738,
"l": 47.843
},
"oklch": {
"l": 0.45104,
"c": 0.20016,
"h": 282.9
},
"luminance": 0.07976
}Semantic roles & 50–950 ramp
primary
#4E36BE
secondary
#BECA86
accent
#DF49C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83