#5A49AE#5A49AE
#5A49AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.8% C 0.155 H 286.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A49AE |
|---|---|
| RGB | rgb(90, 73, 174) |
| HSL | hsl(250, 41%, 48%) |
| HSV | hsv(250, 58%, 68%) |
| CMYK | cmyk(48.3%, 58%, 0%, 31.8%) |
| CIE-LAB | lab(37.83, 33.50, -51.86) |
| CIE-LCH | lch(37.83, 61.74, 302.86°) |
| OKLab | oklab(47.8% 0.0445 -0.1481) |
| OKLCH | oklch(47.8% 0.155 286.7) |
| XYZ | xyz(14.2367, 9.9941, 41.2151) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.87
Bluey Purple
#6241C7
ΔE00 4.51
Blue With A Hint Of Purple
#533CC6
ΔE00 5.02
Blueberry
#464196
ΔE00 5.13
Iris
#6258C4
ΔE00 5.50
Blurple
#5539CC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A49AE #9DAE49
analogous
#496AAE #5A49AE #8C49AE
triadic
#5A49AE #AE5A49 #49AE5A
tetradic
#5A49AE #AE496A #9DAE49 #49AE8C
square
#5A49AE #AE496A #9DAE49 #49AE8C
split-complementary
#5A49AE #AE8C49 #6AAE49
monochromatic
#2D2558 #443783 #5A49AE #7F71C3 #A69CD5
Accessibility & contrast
On white
7.00
#5A49AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#5A49AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A49AE
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A49AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A49AE | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#3E6074
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5a49ae; /* rgb */ color: rgb(90, 73, 174); /* oklch */ color: oklch(47.8% 0.155 286.7);
Tailwind
colors: {
custom: {
50: '#8f7cc7',
500: '#5a49ae',
950: '#000000',
},
}SCSS
$custom: #5a49ae; $custom-light: #8f7cc7; $custom-dark: #000000;
JSON
{
"hex": "#5a49ae",
"rgb": {
"r": 90,
"g": 73,
"b": 174
},
"hsl": {
"h": 250.099,
"s": 40.891,
"l": 48.431
},
"oklch": {
"l": 0.47795,
"c": 0.15468,
"h": 286.7
},
"luminance": 0.09995
}Semantic roles & 50–950 ramp
primary
#5A49AE
secondary
#BAC291
accent
#D157BC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82