#5E47BB#5E47BB
#5E47BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.174 H 287.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5E47BB |
|---|---|
| RGB | rgb(94, 71, 187) |
| HSL | hsl(252, 46%, 51%) |
| HSV | hsv(252, 62%, 73%) |
| CMYK | cmyk(49.7%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(38.68, 39.45, -58.14) |
| CIE-LCH | lch(38.68, 70.26, 304.16°) |
| OKLab | oklab(48.8% 0.0515 -0.1665) |
| OKLCH | oklch(48.8% 0.174 287.2) |
| XYZ | xyz(15.8363, 10.4733, 48.1912) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.38
Ocean Blue
#4F42B5
ΔE00 2.81
Blue With A Hint Of Purple
#533CC6
ΔE00 3.51
Blurple
#5539CC
ΔE00 4.23
Iris
#6258C4
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E47BB #A4BB47
analogous
#476ABB #5E47BB #9847BB
triadic
#5E47BB #BB5E47 #47BB5E
tetradic
#5E47BB #BB476A #A4BB47 #47BB98
square
#5E47BB #BB476A #A4BB47 #47BB98
split-complementary
#5E47BB #BB9847 #6ABB47
monochromatic
#312563 #473590 #5E47BB #8574CC #ACA0DC
Accessibility & contrast
On white
6.79
#5E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#5E47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E47BB
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E47BB | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#3D627A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5e47bb; /* rgb */ color: rgb(94, 71, 187); /* oklch */ color: oklch(48.8% 0.174 287.2);
Tailwind
colors: {
custom: {
50: '#937bd0',
500: '#5e47bb',
950: '#000000',
},
}SCSS
$custom: #5e47bb; $custom-light: #937bd0; $custom-dark: #000000;
JSON
{
"hex": "#5e47bb",
"rgb": {
"r": 94,
"g": 71,
"b": 187
},
"hsl": {
"h": 251.897,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.48802,
"c": 0.17428,
"h": 287.2
},
"luminance": 0.10474
}Semantic roles & 50–950 ramp
primary
#5E47BB
secondary
#BEC995
accent
#D652BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82