#5C479B#5C479B
#5C479B is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.132 H 292.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5C479B |
|---|---|
| RGB | rgb(92, 71, 155) |
| HSL | hsl(255, 37%, 44%) |
| HSV | hsv(255, 54%, 61%) |
| CMYK | cmyk(40.6%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(36.27, 29.53, -43.00) |
| CIE-LCH | lch(36.27, 52.17, 304.48°) |
| OKLab | oklab(46.28% 0.0492 -0.122) |
| OKLCH | oklch(46.28% 0.132 292) |
| XYZ | xyz(12.5817, 9.1480, 32.1068) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 5.45
Rebeccapurple
#663399
ΔE00 6.12
Royal Purple
#7851A9
ΔE00 6.28
Twilight
#4E518B
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C479B #869B47
analogous
#475C9B #5C479B #86479B
triadic
#5C479B #9B5C47 #479B5C
tetradic
#5C479B #9B475C #869B47 #479B86
square
#5C479B #9B475C #869B47 #479B86
split-complementary
#5C479B #9B8647 #5C9B47
monochromatic
#2A2147 #433471 #5C479B #7B66B9 #9F90CC
Accessibility & contrast
On white
7.42
#5C479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#5C479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C479B
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C479B | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#4B586A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5c479b; /* rgb */ color: rgb(92, 71, 155); /* oklch */ color: oklch(46.3% 0.132 292.0);
Tailwind
colors: {
custom: {
50: '#8e7bb9',
500: '#5c479b',
950: '#000000',
},
}SCSS
$custom: #5c479b; $custom-light: #8e7bb9; $custom-dark: #000000;
JSON
{
"hex": "#5c479b",
"rgb": {
"r": 92,
"g": 71,
"b": 155
},
"hsl": {
"h": 255,
"s": 37.168,
"l": 44.314
},
"oklch": {
"l": 0.46275,
"c": 0.1316,
"h": 292
},
"luminance": 0.09148
}Semantic roles & 50–950 ramp
primary
#5C479B
secondary
#ABB886
accent
#CD5BB1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0911
muted
#7D7B80