#504671 color
The hex color #504671 is a dark, grayish violet.
In the RGB color model it is made of 31.4% red, 27.5% green and 44.3% blue (80, 70, 113).
Its hue angle is 254°, with 23% saturation and 36% lightness. For print, the CMYK equivalent is 29% cyan, 38% magenta, 0% yellow and 56% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.55:1).
#504671 color codes
| HEX | #504671 | |
|---|---|---|
| RGB | rgb(80, 70, 113) | |
| RGB percent | rgb(31.4%, 27.5%, 44.3%) | |
| HSL | hsl(254, 23%, 36%) | |
| HSV / HSB | hsv(254, 38%, 44%) | |
| CMYK | cmyk(29%, 38%, 0%, 56%) | |
| CIE LAB | lab(32.43, 14.65, -23.29) | |
| CIE LCH | lch(32.43, 27.52, 302.17) | |
| CIE XYZ | xyz(8.478, 7.278, 16.578) | |
| Decimal | 5260913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504671, 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 #504671 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.55:1 | Pass | Pass | Pass |
| #504671 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.55:1 | Pass | Pass | Pass |
| Sample text | 2.46: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 #504671 looks to people with the most common types of color vision deficiency.
#3a4d73Protanopia
no red cones#3c4c70Deuteranopia
no green cones#494d56Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #504671; }
.text { color: #504671; }
.border { border: 2px solid #504671; }
.transparent { background-color: rgb(80 70 113 / 50%); }
.gradient { background: linear-gradient(to right, #504671, #664671); }
Similar colors
#57446aHaunted Candelabra#4a3b6aMeteorite#5c457bIn the Vines#5b4276Drifting Violet#5c5083Freshly Purpleized#614a7bRoyal Robe#604c81Sumptuous Purple#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #504671?
- #504671 is a dark, grayish violet, closest to the named color Haunted Candelabra. It belongs to the blue family of colors.
- What is the RGB value of #504671?
- The RGB value is 80, 70, 113: 80 red, 70 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #504671?
- The complementary color is #677146, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504671?
- White text. Black text has a contrast ratio of 2.46:1 and white text 8.55:1. WCAG asks for at least 4.5:1 for normal text.