#5A489B#5A489B
#5A489B is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.3% C 0.130 H 290.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A489B |
|---|---|
| RGB | rgb(90, 72, 155) |
| HSL | hsl(253, 37%, 45%) |
| HSV | hsv(253, 54%, 61%) |
| CMYK | cmyk(41.9%, 53.5%, 0%, 39.2%) |
| CIE-LAB | lab(36.32, 28.41, -42.93) |
| CIE-LCH | lch(36.32, 51.48, 303.49°) |
| OKLab | oklab(46.27% 0.0453 -0.1219) |
| OKLCH | oklch(46.27% 0.13 290.4) |
| XYZ | xyz(12.4486, 9.1746, 32.1190) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.10
Darkslateblue
#483D8B
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 5.34
Twilight
#4E518B
ΔE00 5.89
Royal Purple
#7851A9
ΔE00 6.58
Rebeccapurple
#663399
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A489B #899B48
analogous
#48609B #5A489B #84489B
triadic
#5A489B #9B5A48 #489B5A
tetradic
#5A489B #9B4860 #899B48 #489B84
square
#5A489B #9B4860 #899B48 #489B84
split-complementary
#5A489B #9B8448 #609B48
monochromatic
#292147 #423571 #5A489B #7968B9 #9E91CC
Accessibility & contrast
On white
7.41
#5A489B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#5A489B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A489B
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A489B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A489B | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#48596A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5a489b; /* rgb */ color: rgb(90, 72, 155); /* oklch */ color: oklch(46.3% 0.130 290.4);
Tailwind
colors: {
custom: {
50: '#8d7bb9',
500: '#5a489b',
950: '#000000',
},
}SCSS
$custom: #5a489b; $custom-light: #8d7bb9; $custom-dark: #000000;
JSON
{
"hex": "#5a489b",
"rgb": {
"r": 90,
"g": 72,
"b": 155
},
"hsl": {
"h": 253.012,
"s": 36.564,
"l": 44.51
},
"oklch": {
"l": 0.46267,
"c": 0.13003,
"h": 290.4
},
"luminance": 0.09175
}Semantic roles & 50–950 ramp
primary
#5A489B
secondary
#ADB887
accent
#CD5BB4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0911
muted
#7D7B80