#56405A color
The hex color #56405A is a dark, grayish magenta.
In the RGB color model it is made of 33.7% red, 25.1% green and 35.3% blue (86, 64, 90).
Its hue angle is 291°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 4% cyan, 29% magenta, 0% yellow and 65% black.
The closest named color is Nightly Walk (#544563), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.22:1).
#56405A color codes
| HEX | #56405A | |
|---|---|---|
| RGB | rgb(86, 64, 90) | |
| RGB percent | rgb(33.7%, 25.1%, 35.3%) | |
| HSL | hsl(291, 17%, 30%) | |
| HSV / HSB | hsv(291, 29%, 35%) | |
| CMYK | cmyk(4%, 29%, 0%, 65%) | |
| CIE LAB | lab(30.36, 14.79, -11.8) | |
| CIE LCH | lch(30.36, 18.92, 321.4) | |
| CIE XYZ | xyz(7.516, 6.384, 10.507) | |
| Decimal | 5652570 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #56405A, 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 #56405A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.22:1 | Pass | Pass | Pass |
| #56405A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.22:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #56405A looks to people with the most common types of color vision deficiency.
#3d465bProtanopia
no red cones#424859Deuteranopia
no green cones#574349Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #56405a; }
.text { color: #56405a; }
.border { border: 2px solid #56405a; }
.transparent { background-color: rgb(86 64 90 / 50%); }
.gradient { background: linear-gradient(to right, #56405a, #5a4051); }
Similar colors
#544563Nightly Walk#64435fGrape Fizz#4e334eShadow Purple#654161Royal Plum#57446aHaunted Candelabra#61496eYour Majesty#543254Purple Prose#614051Eggplant
Questions
- What color is #56405A?
- #56405A is a dark, grayish magenta, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #56405A?
- The RGB value is 86, 64, 90: 86 red, 64 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #56405A?
- The complementary color is #445A40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #56405A?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.22:1. WCAG asks for at least 4.5:1 for normal text.