#5C46B0#5C46B0
#5C46B0 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.161 H 288.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5C46B0 |
|---|---|
| RGB | rgb(92, 70, 176) |
| HSL | hsl(252, 43%, 48%) |
| HSV | hsv(252, 60%, 69%) |
| CMYK | cmyk(47.7%, 60.2%, 0%, 31%) |
| CIE-LAB | lab(37.46, 36.34, -53.64) |
| CIE-LCH | lch(37.46, 64.79, 304.12°) |
| OKLab | oklab(47.61% 0.0505 -0.1533) |
| OKLCH | oklch(47.61% 0.161 288.2) |
| XYZ | xyz(14.4380, 9.7896, 42.1947) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.57
Bluey Purple
#6241C7
ΔE00 3.73
Blue With A Hint Of Purple
#533CC6
ΔE00 4.30
Blurple
#5539CC
ΔE00 5.15
Blueberry
#464196
ΔE00 5.47
Iris
#6258C4
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C46B0 #9AB046
analogous
#4665B0 #5C46B0 #9146B0
triadic
#5C46B0 #B05C46 #46B05C
tetradic
#5C46B0 #B04665 #9AB046 #46B091
square
#5C46B0 #B04665 #9AB046 #46B091
split-complementary
#5C46B0 #B09146 #65B046
monochromatic
#2E2358 #453584 #5C46B0 #806EC5 #A69AD7
Accessibility & contrast
On white
7.10
#5C46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5C46B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C46B0
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C46B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C46B0 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#405E74
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5c46b0; /* rgb */ color: rgb(92, 70, 176); /* oklch */ color: oklch(47.6% 0.161 288.2);
Tailwind
colors: {
custom: {
50: '#917ac8',
500: '#5c46b0',
950: '#000000',
},
}SCSS
$custom: #5c46b0; $custom-light: #917ac8; $custom-dark: #000000;
JSON
{
"hex": "#5c46b0",
"rgb": {
"r": 92,
"g": 70,
"b": 176
},
"hsl": {
"h": 252.453,
"s": 43.089,
"l": 48.235
},
"oklch": {
"l": 0.47613,
"c": 0.16141,
"h": 288.2
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#5C46B0
secondary
#B8C38F
accent
#D355B9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82