#5D49AF#5D49AF
#5D49AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.1% C 0.156 H 288.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5D49AF |
|---|---|
| RGB | rgb(93, 73, 175) |
| HSL | hsl(252, 41%, 49%) |
| HSV | hsv(252, 58%, 69%) |
| CMYK | cmyk(46.9%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.18, 34.46, -51.89) |
| CIE-LCH | lch(38.18, 62.29, 303.59°) |
| OKLab | oklab(48.14% 0.0485 -0.1481) |
| OKLCH | oklch(48.14% 0.156 288.1) |
| XYZ | xyz(14.6324, 10.1868, 41.7444) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.16
Bluey Purple
#6241C7
ΔE00 4.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.02
Iris
#6258C4
ΔE00 5.42
Blueberry
#464196
ΔE00 5.58
Blurple
#5539CC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D49AF #9BAF49
analogous
#4968AF #5D49AF #9049AF
triadic
#5D49AF #AF5D49 #49AF5D
tetradic
#5D49AF #AF4968 #9BAF49 #49AF90
square
#5D49AF #AF4968 #9BAF49 #49AF90
split-complementary
#5D49AF #AF9049 #68AF49
monochromatic
#2F2559 #463784 #5D49AF #8171C4 #A89CD6
Accessibility & contrast
On white
6.91
#5D49AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#5D49AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D49AF
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D49AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D49AF | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#436075
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5d49af; /* rgb */ color: rgb(93, 73, 175); /* oklch */ color: oklch(48.1% 0.156 288.1);
Tailwind
colors: {
custom: {
50: '#917cc8',
500: '#5d49af',
950: '#000000',
},
}SCSS
$custom: #5d49af; $custom-light: #917cc8; $custom-dark: #000000;
JSON
{
"hex": "#5d49af",
"rgb": {
"r": 93,
"g": 73,
"b": 175
},
"hsl": {
"h": 251.765,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.48137,
"c": 0.15584,
"h": 288.1
},
"luminance": 0.10187
}Semantic roles & 50–950 ramp
primary
#5D49AF
secondary
#B9C291
accent
#D157B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82