#514168 color
The hex color #514168 is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 25.5% green and 40.8% blue (81, 65, 104).
Its hue angle is 265°, with 23% saturation and 33% lightness. For print, the CMYK equivalent is 22% cyan, 38% magenta, 0% yellow and 59% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.11:1).
#514168 color codes
| HEX | #514168 | |
|---|---|---|
| RGB | rgb(81, 65, 104) | |
| RGB percent | rgb(31.8%, 25.5%, 40.8%) | |
| HSL | hsl(265, 23%, 33%) | |
| HSV / HSB | hsv(265, 38%, 41%) | |
| CMYK | cmyk(22%, 38%, 0%, 59%) | |
| CIE LAB | lab(30.71, 15.77, -20.28) | |
| CIE LCH | lch(30.71, 25.69, 307.88) | |
| CIE XYZ | xyz(7.782, 6.529, 13.944) | |
| Decimal | 5325160 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514168, 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 #514168 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.31:1 | Fail | Fail | Fail |
| Sample text | 9.11:1 | Pass | Pass | Pass |
| #514168 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 #514168 looks to people with the most common types of color vision deficiency.
#38486aProtanopia
no red cones#3b4867Deuteranopia
no green cones#4d474fTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #514168; }
.text { color: #514168; }
.border { border: 2px solid #514168; }
.transparent { background-color: rgb(81 65 104 / 50%); }
.gradient { background: linear-gradient(to right, #514168, #654168); }
Similar colors
#57446aHaunted Candelabra#4a3b6aMeteorite#544563Nightly Walk#5b4276Drifting Violet#61496eYour Majesty#5c457bIn the Vines#614a7bRoyal Robe#4f325eRoyal Crown
Closest common color name: Dark Slate Blue.
Questions
- What color is #514168?
- #514168 is a dark, grayish violet, closest to the named color Haunted Candelabra. It belongs to the purple family of colors.
- What is the RGB value of #514168?
- The RGB value is 81, 65, 104: 81 red, 65 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #514168?
- The complementary color is #586841, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514168?
- 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.