#514287 color
The hex color #514287 is a desaturated violet.
In the RGB color model it is made of 31.8% red, 25.9% green and 52.9% blue (81, 66, 135).
Its hue angle is 253°, with 34% saturation and 39% lightness. For print, the CMYK equivalent is 40% cyan, 51% magenta, 0% yellow and 47% black.
The closest named color is Dark Slate Blue (#483D8B), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.47:1).
#514287 color codes
| HEX | #514287 | |
|---|---|---|
| RGB | rgb(81, 66, 135) | |
| RGB percent | rgb(31.8%, 25.9%, 52.9%) | |
| HSL | hsl(253, 34%, 39%) | |
| HSV / HSB | hsv(253, 51%, 53%) | |
| CMYK | cmyk(40%, 51%, 0%, 47%) | |
| CIE LAB | lab(32.69, 23.9, -36.58) | |
| CIE LCH | lch(32.69, 43.7, 303.16) | |
| CIE XYZ | xyz(9.714, 7.395, 23.833) | |
| Decimal | 5325447 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514287, 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 #514287 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.48:1 | Fail | Fail | Fail |
| Sample text | 8.47:1 | Pass | Pass | Pass |
| #514287 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.47:1 | Pass | Pass | Pass |
| Sample text | 2.48: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 #514287 looks to people with the most common types of color vision deficiency.
#274e89Protanopia
no red cones#294b85Deuteranopia
no green cones#43505eTritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #514287; }
.text { color: #514287; }
.border { border: 2px solid #514287; }
.transparent { background-color: rgb(81 66 135 / 50%); }
.gradient { background: linear-gradient(to right, #514287, #734287); }
Similar colors
#483d8bDark Slate Blue#48357bGalactic Compass#464196Blueberry#573894Ruthless Empress#5c457bIn the Vines#583580Kingfisher Daisy#444499Galaxy Express#443388Majestic Eggplant
Questions
- What color is #514287?
- #514287 is a desaturated violet, closest to the named color Dark Slate Blue. It belongs to the blue family of colors.
- What is the RGB value of #514287?
- The RGB value is 81, 66, 135: 81 red, 66 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #514287?
- The complementary color is #788742, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514287?
- White text. Black text has a contrast ratio of 2.48:1 and white text 8.47:1. WCAG asks for at least 4.5:1 for normal text.