#504665 color
The hex color #504665 is a dark, grayish violet.
In the RGB color model it is made of 31.4% red, 27.5% green and 39.6% blue (80, 70, 101).
Its hue angle is 259°, with 18% saturation and 34% lightness. For print, the CMYK equivalent is 21% cyan, 31% magenta, 0% yellow and 60% black.
The closest named color is Nightly Walk (#544563), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.73:1).
#504665 color codes
| HEX | #504665 | |
|---|---|---|
| RGB | rgb(80, 70, 101) | |
| RGB percent | rgb(31.4%, 27.5%, 39.6%) | |
| HSL | hsl(259, 18%, 34%) | |
| HSV / HSB | hsv(259, 31%, 40%) | |
| CMYK | cmyk(21%, 31%, 0%, 60%) | |
| CIE LAB | lab(31.86, 11.4, -16.59) | |
| CIE LCH | lch(31.86, 20.13, 304.5) | |
| CIE XYZ | xyz(7.847, 7.025, 13.252) | |
| Decimal | 5260901 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504665, 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 #504665 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.73:1 | Pass | Pass | Pass |
| #504665 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.73:1 | Pass | Pass | Pass |
| Sample text | 2.41: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 #504665 looks to people with the most common types of color vision deficiency.
#3f4b66Protanopia
no red cones#414b64Deuteranopia
no green cones#4c4b51Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #504665; }
.text { color: #504665; }
.border { border: 2px solid #504665; }
.transparent { background-color: rgb(80 70 101 / 50%); }
.gradient { background: linear-gradient(to right, #504665, #5f4665); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#61496eYour Majesty#3d3d63Storm Is Coming#4a3b6aMeteorite#3f354fMaharaja#3e4364Genie#565266Freefall
Closest common color name: Eggplant.
Questions
- What color is #504665?
- #504665 is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #504665?
- The RGB value is 80, 70, 101: 80 red, 70 green and 101 blue on a 0 to 255 scale.
- What is the complementary color of #504665?
- The complementary color is #5B6546, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504665?
- White text. Black text has a contrast ratio of 2.41:1 and white text 8.73:1. WCAG asks for at least 4.5:1 for normal text.