#5C4C8A#5C4C8A
#5C4C8A is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.1% C 0.099 H 294.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4C8A |
|---|---|
| RGB | rgb(92, 76, 138) |
| HSL | hsl(255, 29%, 42%) |
| HSV | hsv(255, 45%, 54%) |
| CMYK | cmyk(33.3%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(36.52, 21.54, -32.28) |
| CIE-LCH | lch(36.52, 38.81, 303.71°) |
| OKLab | oklab(46.14% 0.0404 -0.0906) |
| OKLCH | oklch(46.14% 0.099 294) |
| XYZ | xyz(11.5844, 9.2790, 25.2205) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 6.13
Dusk
#4E5481
ΔE00 6.16
Blueberry
#464196
ΔE00 6.73
Royal Purple
#7851A9
ΔE00 7.47
Rebeccapurple
#663399
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4C8A #7A8A4C
analogous
#4C5B8A #5C4C8A #7B4C8A
triadic
#5C4C8A #8A5C4C #4C8A5C
tetradic
#5C4C8A #8A4C5B #7A8A4C #4C8A7B
square
#5C4C8A #8A4C5B #7A8A4C #4C8A7B
split-complementary
#5C4C8A #8A7B4C #5B8A4C
monochromatic
#27213B #423663 #5C4C8A #7968AC #9C8FC1
Accessibility & contrast
On white
7.35
#5C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5C4C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C4C8A
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4C8A | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#525764
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5c4c8a; /* rgb */ color: rgb(92, 76, 138); /* oklch */ color: oklch(46.1% 0.099 294.0);
Tailwind
colors: {
custom: {
50: '#8c7eac',
500: '#5c4c8a',
950: '#000000',
},
}SCSS
$custom: #5c4c8a; $custom-light: #8c7eac; $custom-dark: #000000;
JSON
{
"hex": "#5c4c8a",
"rgb": {
"r": 92,
"g": 76,
"b": 138
},
"hsl": {
"h": 255.484,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.46135,
"c": 0.09926,
"h": 294
},
"luminance": 0.09279
}Semantic roles & 50–950 ramp
primary
#5C4C8A
secondary
#A3AE84
accent
#C563AC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F