#5F45BB#5F45BB
#5F45BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.177 H 288.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5F45BB |
|---|---|
| RGB | rgb(95, 69, 187) |
| HSL | hsl(253, 46%, 50%) |
| HSV | hsv(253, 63%, 73%) |
| CMYK | cmyk(49.2%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.33, 40.81, -58.70) |
| CIE-LCH | lch(38.33, 71.49, 304.81°) |
| OKLab | oklab(48.57% 0.055 -0.1681) |
| OKLCH | oklch(48.57% 0.177 288.1) |
| XYZ | xyz(15.8145, 10.2763, 48.1543) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.01
Ocean Blue
#4F42B5
ΔE00 2.82
Blue With A Hint Of Purple
#533CC6
ΔE00 3.21
Blurple
#5539CC
ΔE00 3.89
Iris
#6258C4
ΔE00 5.68
Burple
#6832E3
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F45BB #A1BB45
analogous
#4566BB #5F45BB #9A45BB
triadic
#5F45BB #BB5F45 #45BB5F
tetradic
#5F45BB #BB4566 #A1BB45 #45BB9A
square
#5F45BB #BB4566 #A1BB45 #45BB9A
split-complementary
#5F45BB #BB9A45 #66BB45
monochromatic
#312462 #48348F #5F45BB #8672CB #AC9FDC
Accessibility & contrast
On white
6.87
#5F45BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#5F45BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F45BB
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F45BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F45BB | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#3F6179
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5f45bb; /* rgb */ color: rgb(95, 69, 187); /* oklch */ color: oklch(48.6% 0.177 288.1);
Tailwind
colors: {
custom: {
50: '#947ad0',
500: '#5f45bb',
950: '#000000',
},
}SCSS
$custom: #5f45bb; $custom-light: #947ad0; $custom-dark: #000000;
JSON
{
"hex": "#5f45bb",
"rgb": {
"r": 95,
"g": 69,
"b": 187
},
"hsl": {
"h": 253.22,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.48573,
"c": 0.17686,
"h": 288.1
},
"luminance": 0.10277
}Semantic roles & 50–950 ramp
primary
#5F45BB
secondary
#BDC894
accent
#D652B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82