#5D46AF#5D46AF
#5D46AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.160 H 288.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5D46AF |
|---|---|
| RGB | rgb(93, 70, 175) |
| HSL | hsl(253, 43%, 48%) |
| HSV | hsv(253, 60%, 69%) |
| CMYK | cmyk(46.9%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(37.48, 36.26, -53.00) |
| CIE-LCH | lch(37.48, 64.22, 304.38°) |
| OKLab | oklab(47.63% 0.0519 -0.1514) |
| OKLCH | oklch(47.63% 0.16 288.9) |
| XYZ | xyz(14.4400, 9.8021, 41.6803) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.80
Bluey Purple
#6241C7
ΔE00 3.84
Blue With A Hint Of Purple
#533CC6
ΔE00 4.49
Blurple
#5539CC
ΔE00 5.32
Blueberry
#464196
ΔE00 5.50
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D46AF #98AF46
analogous
#4663AF #5D46AF #9146AF
triadic
#5D46AF #AF5D46 #46AF5D
tetradic
#5D46AF #AF4663 #98AF46 #46AF91
square
#5D46AF #AF4663 #98AF46 #46AF91
split-complementary
#5D46AF #AF9146 #63AF46
monochromatic
#2F2358 #463583 #5D46AF #816DC5 #A799D6
Accessibility & contrast
On white
7.09
#5D46AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5D46AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D46AF
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D46AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D46AF | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#435E74
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d46af; /* rgb */ color: rgb(93, 70, 175); /* oklch */ color: oklch(47.6% 0.160 288.9);
Tailwind
colors: {
custom: {
50: '#917ac8',
500: '#5d46af',
950: '#000000',
},
}SCSS
$custom: #5d46af; $custom-light: #917ac8; $custom-dark: #000000;
JSON
{
"hex": "#5d46af",
"rgb": {
"r": 93,
"g": 70,
"b": 175
},
"hsl": {
"h": 253.143,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.47629,
"c": 0.16006,
"h": 288.9
},
"luminance": 0.09803
}Semantic roles & 50–950 ramp
primary
#5D46AF
secondary
#B7C28E
accent
#D355B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82