#5A4366 color
The hex color #5A4366 is a dark, grayish violet.
In the RGB color model it is made of 35.3% red, 26.3% green and 40% blue (90, 67, 102).
Its hue angle is 279°, with 21% saturation and 33% lightness. For print, the CMYK equivalent is 12% cyan, 34% magenta, 0% yellow and 60% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.64:1).
#5A4366 color codes
| HEX | #5A4366 | |
|---|---|---|
| RGB | rgb(90, 67, 102) | |
| RGB percent | rgb(35.3%, 26.3%, 40%) | |
| HSL | hsl(279, 21%, 33%) | |
| HSV / HSB | hsv(279, 34%, 40%) | |
| CMYK | cmyk(12%, 34%, 0%, 60%) | |
| CIE LAB | lab(32.14, 17.16, -16.71) | |
| CIE LCH | lch(32.14, 23.95, 315.75) | |
| CIE XYZ | xyz(8.621, 7.147, 13.493) | |
| Decimal | 5915494 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4366, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5A4366 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.64:1 | Pass | Pass | Pass |
| #5A4366 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.64:1 | Pass | Pass | Pass |
| Sample text | 2.43:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5A4366 looks to people with the most common types of color vision deficiency.
#3e4a67Protanopia
no red cones#434c65Deuteranopia
no green cones#594750Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #5a4366; }
.text { color: #5a4366; }
.border { border: 2px solid #5a4366; }
.transparent { background-color: rgb(90 67 102 / 50%); }
.gradient { background: linear-gradient(to right, #5a4366, #664361); }
Similar colors
#57446aHaunted Candelabra#61496eYour Majesty#544563Nightly Walk#674876Neon Violet#654161Royal Plum#64435fGrape Fizz#5b365eLong Passionate Night#653b66Wine Tour
Closest common color name: Eggplant.
Questions
- What color is #5A4366?
- #5A4366 is a dark, grayish violet, closest to the named color Haunted Candelabra. It belongs to the purple family of colors.
- What is the RGB value of #5A4366?
- The RGB value is 90, 67, 102: 90 red, 67 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5A4366?
- The complementary color is #4F6643, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4366?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.