#514978 color
The hex color #514978 is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 28.6% green and 47.1% blue (81, 73, 120).
Its hue angle is 250°, with 24% saturation and 38% lightness. For print, the CMYK equivalent is 33% cyan, 39% magenta, 0% yellow and 53% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.16:1).
#514978 color codes
| HEX | #514978 | |
|---|---|---|
| RGB | rgb(81, 73, 120) | |
| RGB percent | rgb(31.8%, 28.6%, 47.1%) | |
| HSL | hsl(250, 24%, 38%) | |
| HSV / HSB | hsv(250, 39%, 47%) | |
| CMYK | cmyk(33%, 39%, 0%, 53%) | |
| CIE LAB | lab(33.71, 15.01, -25.66) | |
| CIE LCH | lch(33.71, 29.73, 300.32) | |
| CIE XYZ | xyz(9.165, 7.87, 18.802) | |
| Decimal | 5327224 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514978, 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 #514978 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.16:1 | Pass | Pass | Pass |
| #514978 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.16:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #514978 looks to people with the most common types of color vision deficiency.
#3b507aProtanopia
no red cones#3c4e77Deuteranopia
no green cones#48515bTritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #514978; }
.text { color: #514978; }
.border { border: 2px solid #514978; }
.transparent { background-color: rgb(81 73 120 / 50%); }
.gradient { background: linear-gradient(to right, #514978, #694978); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#604c81Sumptuous Purple#5c457bIn the Vines#614a7bRoyal Robe#5b4276Drifting Violet#4a3b6aMeteorite#57446aHaunted Candelabra
Closest common color name: Dark Slate Blue.
Questions
- What color is #514978?
- #514978 is a dark, grayish violet, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #514978?
- The RGB value is 81, 73, 120: 81 red, 73 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #514978?
- The complementary color is #707849, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514978?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.16:1. WCAG asks for at least 4.5:1 for normal text.