#5E46BC#5E46BC
#5E46BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.177 H 287.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5E46BC |
|---|---|
| RGB | rgb(94, 70, 188) |
| HSL | hsl(252, 47%, 51%) |
| HSV | hsv(252, 63%, 74%) |
| CMYK | cmyk(50%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(38.53, 40.33, -58.97) |
| CIE-LCH | lch(38.53, 71.44, 304.37°) |
| OKLab | oklab(48.72% 0.0525 -0.1689) |
| OKLCH | oklch(48.72% 0.177 287.3) |
| XYZ | xyz(15.8807, 10.3901, 48.7359) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.10
Ocean Blue
#4F42B5
ΔE00 2.76
Blue With A Hint Of Purple
#533CC6
ΔE00 3.23
Blurple
#5539CC
ΔE00 3.94
Iris
#6258C4
ΔE00 5.37
Burple
#6832E3
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E46BC #A4BC46
analogous
#4669BC #5E46BC #9946BC
triadic
#5E46BC #BC5E46 #46BC5E
tetradic
#5E46BC #BC4669 #A4BC46 #46BC99
square
#5E46BC #BC4669 #A4BC46 #46BC99
split-complementary
#5E46BC #BC9946 #69BC46
monochromatic
#312464 #473490 #5E46BC #8573CC #ACA0DD
Accessibility & contrast
On white
6.82
#5E46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5E46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E46BC
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E46BC | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#3D627A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5e46bc; /* rgb */ color: rgb(94, 70, 188); /* oklch */ color: oklch(48.7% 0.177 287.3);
Tailwind
colors: {
custom: {
50: '#937bd1',
500: '#5e46bc',
950: '#000000',
},
}SCSS
$custom: #5e46bc; $custom-light: #937bd1; $custom-dark: #000000;
JSON
{
"hex": "#5e46bc",
"rgb": {
"r": 94,
"g": 70,
"b": 188
},
"hsl": {
"h": 252.203,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.4872,
"c": 0.17688,
"h": 287.3
},
"luminance": 0.10391
}Semantic roles & 50–950 ramp
primary
#5E46BC
secondary
#BEC995
accent
#D651BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82