#5C489F#5C489F
#5C489F is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.7% C 0.136 H 290.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5C489F |
|---|---|
| RGB | rgb(92, 72, 159) |
| HSL | hsl(254, 38%, 45%) |
| HSV | hsv(254, 55%, 62%) |
| CMYK | cmyk(42.1%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(36.77, 30.09, -44.61) |
| CIE-LCH | lch(36.77, 53.81, 304.00°) |
| OKLab | oklab(46.73% 0.0481 -0.1268) |
| OKLCH | oklch(46.73% 0.136 290.8) |
| XYZ | xyz(12.9873, 9.4128, 33.9267) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 4.88
Darkslateblue
#483D8B
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 6.16
Rebeccapurple
#663399
ΔE00 6.44
Twilight
#4E518B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C489F #8B9F48
analogous
#48609F #5C489F #87489F
triadic
#5C489F #9F5C48 #489F5C
tetradic
#5C489F #9F4860 #8B9F48 #489F87
square
#5C489F #9F4860 #8B9F48 #489F87
split-complementary
#5C489F #9F8748 #609F48
monochromatic
#2B224B #443575 #5C489F #7C69BB #A193CE
Accessibility & contrast
On white
7.29
#5C489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5C489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C489F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C489F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#22559D
Tritanopia (blue-blind)
#495A6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5c489f; /* rgb */ color: rgb(92, 72, 159); /* oklch */ color: oklch(46.7% 0.136 290.8);
Tailwind
colors: {
custom: {
50: '#8e7bbc',
500: '#5c489f',
950: '#000000',
},
}SCSS
$custom: #5c489f; $custom-light: #8e7bbc; $custom-dark: #000000;
JSON
{
"hex": "#5c489f",
"rgb": {
"r": 92,
"g": 72,
"b": 159
},
"hsl": {
"h": 253.793,
"s": 37.662,
"l": 45.294
},
"oklch": {
"l": 0.46729,
"c": 0.13559,
"h": 290.8
},
"luminance": 0.09413
}Semantic roles & 50–950 ramp
primary
#5C489F
secondary
#AFBA89
accent
#CE5AB3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81