#514156 color
The hex color #514156 is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 25.5% green and 33.7% blue (81, 65, 86).
Its hue angle is 286°, with 14% saturation and 30% lightness. For print, the CMYK equivalent is 6% cyan, 24% magenta, 0% yellow and 66% black.
The closest named color is Black Magic (#4F4554), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.37:1).
#514156 color codes
| HEX | #514156 | |
|---|---|---|
| RGB | rgb(81, 65, 86) | |
| RGB percent | rgb(31.8%, 25.5%, 33.7%) | |
| HSL | hsl(286, 14%, 30%) | |
| HSV / HSB | hsv(286, 24%, 34%) | |
| CMYK | cmyk(6%, 24%, 0%, 66%) | |
| CIE LAB | lab(29.92, 11.3, -9.95) | |
| CIE LCH | lch(29.92, 15.06, 318.63) | |
| CIE XYZ | xyz(6.963, 6.202, 9.633) | |
| Decimal | 5325142 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514156, 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 #514156 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.24:1 | Fail | Fail | Fail |
| Sample text | 9.37:1 | Pass | Pass | Pass |
| #514156 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.37:1 | Pass | Pass | Pass |
| Sample text | 2.24: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 #514156 looks to people with the most common types of color vision deficiency.
#3f4557Protanopia
no red cones#424755Deuteranopia
no green cones#514348Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #514156; }
.text { color: #514156; }
.border { border: 2px solid #514156; }
.transparent { background-color: rgb(81 65 86 / 50%); }
.gradient { background: linear-gradient(to right, #514156, #564150); }
Similar colors
#4f4554Black Magic#544563Nightly Walk#42364cCall It a Night#403547Royal Decree#3f354fMaharaja#4e334eShadow Purple#443240Voodoo#57446aHaunted Candelabra
Closest common color name: Eggplant.
Questions
- What color is #514156?
- #514156 is a dark, grayish magenta, closest to the named color Black Magic. It belongs to the purple family of colors.
- What is the RGB value of #514156?
- The RGB value is 81, 65, 86: 81 red, 65 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #514156?
- The complementary color is #465641, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514156?
- White text. Black text has a contrast ratio of 2.24:1 and white text 9.37:1. WCAG asks for at least 4.5:1 for normal text.