#5E49AF#5E49AF
#5E49AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.2% C 0.156 H 288.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5E49AF |
|---|---|
| RGB | rgb(94, 73, 175) |
| HSL | hsl(252, 41%, 49%) |
| HSV | hsv(252, 58%, 69%) |
| CMYK | cmyk(46.3%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.27, 34.68, -51.73) |
| CIE-LCH | lch(38.27, 62.28, 303.84°) |
| OKLab | oklab(48.23% 0.0498 -0.1476) |
| OKLCH | oklch(48.23% 0.156 288.6) |
| XYZ | xyz(14.7343, 10.2393, 41.7492) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.30
Bluey Purple
#6241C7
ΔE00 4.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.07
Iris
#6258C4
ΔE00 5.43
Blueberry
#464196
ΔE00 5.71
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E49AF #9AAF49
analogous
#4967AF #5E49AF #9149AF
triadic
#5E49AF #AF5E49 #49AF5E
tetradic
#5E49AF #AF4967 #9AAF49 #49AF91
square
#5E49AF #AF4967 #9AAF49 #49AF91
split-complementary
#5E49AF #AF9149 #67AF49
monochromatic
#302559 #473784 #5E49AF #8271C4 #A89CD6
Accessibility & contrast
On white
6.89
#5E49AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#5E49AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E49AF
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E49AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E49AF | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0258AD
Tritanopia (blue-blind)
#456075
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5e49af; /* rgb */ color: rgb(94, 73, 175); /* oklch */ color: oklch(48.2% 0.156 288.6);
Tailwind
colors: {
custom: {
50: '#917cc8',
500: '#5e49af',
950: '#000000',
},
}SCSS
$custom: #5e49af; $custom-light: #917cc8; $custom-dark: #000000;
JSON
{
"hex": "#5e49af",
"rgb": {
"r": 94,
"g": 73,
"b": 175
},
"hsl": {
"h": 252.353,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.48228,
"c": 0.15579,
"h": 288.6
},
"luminance": 0.1024
}Semantic roles & 50–950 ramp
primary
#5E49AF
secondary
#B8C291
accent
#D157B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82