#514262 color
The hex color #514262 is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 25.9% green and 38.4% blue (81, 66, 98).
Its hue angle is 268°, with 20% saturation and 32% lightness. For print, the CMYK equivalent is 17% cyan, 33% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.11:1).
#514262 color codes
| HEX | #514262 | |
|---|---|---|
| RGB | rgb(81, 66, 98) | |
| RGB percent | rgb(31.8%, 25.9%, 38.4%) | |
| HSL | hsl(268, 20%, 32%) | |
| HSV / HSB | hsv(268, 33%, 38%) | |
| CMYK | cmyk(17%, 33%, 0%, 62%) | |
| CIE LAB | lab(30.71, 13.57, -16.45) | |
| CIE LCH | lch(30.71, 21.33, 309.52) | |
| CIE XYZ | xyz(7.546, 6.528, 12.415) | |
| Decimal | 5325410 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514262, 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 #514262 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.31:1 | Fail | Fail | Fail |
| Sample text | 9.11:1 | Pass | Pass | Pass |
| #514262 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.11:1 | Pass | Pass | Pass |
| Sample text | 2.31: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 #514262 looks to people with the most common types of color vision deficiency.
#3c4863Protanopia
no red cones#3f4861Deuteranopia
no green cones#4f474dTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #514262; }
.text { color: #514262; }
.border { border: 2px solid #514262; }
.transparent { background-color: rgb(81 66 98 / 50%); }
.gradient { background: linear-gradient(to right, #514262, #614262); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#61496eYour Majesty#4a3b6aMeteorite#3f354fMaharaja#42364cCall It a Night#5b4276Drifting Violet#4f325eRoyal Crown
Closest common color name: Eggplant.
Questions
- What color is #514262?
- #514262 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 #514262?
- The RGB value is 81, 66, 98: 81 red, 66 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #514262?
- The complementary color is #536242, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514262?
- White text. Black text has a contrast ratio of 2.31:1 and white text 9.11:1. WCAG asks for at least 4.5:1 for normal text.