#5E45BC#5E45BC
#5E45BC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.178 H 287.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5E45BC |
|---|---|
| RGB | rgb(94, 69, 188) |
| HSL | hsl(253, 47%, 50%) |
| HSV | hsv(253, 63%, 74%) |
| CMYK | cmyk(50%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.32, 40.91, -59.32) |
| CIE-LCH | lch(38.32, 72.06, 304.59°) |
| OKLab | oklab(48.56% 0.0536 -0.1699) |
| OKLCH | oklch(48.56% 0.178 287.5) |
| XYZ | xyz(15.8187, 10.2660, 48.7152) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.95
Ocean Blue
#4F42B5
ΔE00 2.70
Blue With A Hint Of Purple
#533CC6
ΔE00 3.04
Blurple
#5539CC
ΔE00 3.74
Iris
#6258C4
ΔE00 5.64
Burple
#6832E3
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E45BC #A3BC45
analogous
#4567BC #5E45BC #9945BC
triadic
#5E45BC #BC5E45 #45BC5E
tetradic
#5E45BC #BC4567 #A3BC45 #45BC99
square
#5E45BC #BC4567 #A3BC45 #45BC99
split-complementary
#5E45BC #BC9945 #67BC45
monochromatic
#312463 #473490 #5E45BC #8572CC #AC9FDC
Accessibility & contrast
On white
6.88
#5E45BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#5E45BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E45BC
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E45BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E45BC | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#3D627A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5e45bc; /* rgb */ color: rgb(94, 69, 188); /* oklch */ color: oklch(48.6% 0.178 287.5);
Tailwind
colors: {
custom: {
50: '#937ad1',
500: '#5e45bc',
950: '#000000',
},
}SCSS
$custom: #5e45bc; $custom-light: #937ad1; $custom-dark: #000000;
JSON
{
"hex": "#5e45bc",
"rgb": {
"r": 94,
"g": 69,
"b": 188
},
"hsl": {
"h": 252.605,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.48561,
"c": 0.17819,
"h": 287.5
},
"luminance": 0.10267
}Semantic roles & 50–950 ramp
primary
#5E45BC
secondary
#BEC994
accent
#D751BB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82