#514A66 color
The hex color #514A66 is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 29% green and 40% blue (81, 74, 102).
Its hue angle is 255°, with 16% saturation and 35% lightness. For print, the CMYK equivalent is 21% cyan, 27% magenta, 0% yellow and 60% black.
The closest named color is Nightly Walk (#544563), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.33:1).
#514A66 color codes
| HEX | #514A66 | |
|---|---|---|
| RGB | rgb(81, 74, 102) | |
| RGB percent | rgb(31.8%, 29%, 40%) | |
| HSL | hsl(255, 16%, 35%) | |
| HSV / HSB | hsv(255, 27%, 40%) | |
| CMYK | cmyk(21%, 27%, 0%, 60%) | |
| CIE LAB | lab(33.15, 9.44, -15.24) | |
| CIE LCH | lch(33.15, 17.93, 301.78) | |
| CIE XYZ | xyz(8.24, 7.606, 13.602) | |
| Decimal | 5327462 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514A66, 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 #514A66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.33:1 | Pass | Pass | Pass |
| #514A66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.33:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #514A66 looks to people with the most common types of color vision deficiency.
#444e67Protanopia
no red cones#454e65Deuteranopia
no green cones#4d4e54Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #514a66; }
.text { color: #514a66; }
.border { border: 2px solid #514a66; }
.transparent { background-color: rgb(81 74 102 / 50%); }
.gradient { background: linear-gradient(to right, #514a66, #5f4a66); }
Similar colors
#544563Nightly Walk#565266Freefall#555570Majestic Magic#4d516cIntergalactic#57446aHaunted Candelabra#4f4554Black Magic#3e4364Genie#61496eYour Majesty
Closest common color name: Eggplant.
Questions
- What color is #514A66?
- #514A66 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 #514A66?
- The RGB value is 81, 74, 102: 81 red, 74 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #514A66?
- The complementary color is #5F664A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514A66?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.33:1. WCAG asks for at least 4.5:1 for normal text.