#5D45BB#5D45BB
#5D45BB is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.4% C 0.177 H 287.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5D45BB |
|---|---|
| RGB | rgb(93, 69, 187) |
| HSL | hsl(252, 46%, 50%) |
| HSV | hsv(252, 63%, 73%) |
| CMYK | cmyk(50.3%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.15, 40.42, -59.01) |
| CIE-LCH | lch(38.15, 71.53, 304.41°) |
| OKLab | oklab(48.39% 0.0523 -0.1691) |
| OKLCH | oklch(48.39% 0.177 287.2) |
| XYZ | xyz(15.6093, 10.1705, 48.1447) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.12
Ocean Blue
#4F42B5
ΔE00 2.50
Blue With A Hint Of Purple
#533CC6
ΔE00 3.04
Blurple
#5539CC
ΔE00 3.78
Iris
#6258C4
ΔE00 5.67
Burple
#6832E3
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D45BB #A3BB45
analogous
#4568BB #5D45BB #9845BB
triadic
#5D45BB #BB5D45 #45BB5D
tetradic
#5D45BB #BB4568 #A3BB45 #45BB98
square
#5D45BB #BB4568 #A3BB45 #45BB98
split-complementary
#5D45BB #BB9845 #68BB45
monochromatic
#302462 #47348F #5D45BB #8472CB #AB9FDC
Accessibility & contrast
On white
6.92
#5D45BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#5D45BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D45BB
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D45BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D45BB | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#3B6179
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5d45bb; /* rgb */ color: rgb(93, 69, 187); /* oklch */ color: oklch(48.4% 0.177 287.2);
Tailwind
colors: {
custom: {
50: '#937ad0',
500: '#5d45bb',
950: '#000000',
},
}SCSS
$custom: #5d45bb; $custom-light: #937ad0; $custom-dark: #000000;
JSON
{
"hex": "#5d45bb",
"rgb": {
"r": 93,
"g": 69,
"b": 187
},
"hsl": {
"h": 252.203,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.48392,
"c": 0.17698,
"h": 287.2
},
"luminance": 0.10171
}Semantic roles & 50–950 ramp
primary
#5D45BB
secondary
#BEC894
accent
#D652BB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82