#514255 color
The hex color #514255 is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 25.9% green and 33.3% blue (81, 66, 85).
Its hue angle is 287°, with 13% saturation and 30% lightness. For print, the CMYK equivalent is 5% cyan, 22% magenta, 0% yellow and 67% black.
The closest named color is Black Magic (#4F4554), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.29:1).
#514255 color codes
| HEX | #514255 | |
|---|---|---|
| RGB | rgb(81, 66, 85) | |
| RGB percent | rgb(31.8%, 25.9%, 33.3%) | |
| HSL | hsl(287, 13%, 30%) | |
| HSV / HSB | hsv(287, 22%, 33%) | |
| CMYK | cmyk(5%, 22%, 0%, 67%) | |
| CIE LAB | lab(30.16, 10.42, -8.93) | |
| CIE LCH | lch(30.16, 13.73, 319.4) | |
| CIE XYZ | xyz(6.981, 6.302, 9.441) | |
| Decimal | 5325397 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514255, 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 #514255 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.29:1 | Pass | Pass | Pass |
| #514255 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.29:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #514255 looks to people with the most common types of color vision deficiency.
#404656Protanopia
no red cones#434854Deuteranopia
no green cones#514448Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #514255; }
.text { color: #514255; }
.border { border: 2px solid #514255; }
.transparent { background-color: rgb(81 66 85 / 50%); }
.gradient { background: linear-gradient(to right, #514255, #55424f); }
Similar colors
#4f4554Black Magic#544563Nightly Walk#42364cCall It a Night#403547Royal Decree#443240Voodoo#3f354fMaharaja#413d4bItalian Grape#4e334eShadow Purple
Closest common color name: Eggplant.
Questions
- What color is #514255?
- #514255 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 #514255?
- The RGB value is 81, 66, 85: 81 red, 66 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #514255?
- The complementary color is #465542, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514255?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.29:1. WCAG asks for at least 4.5:1 for normal text.