#511C77 color
The hex color #511C77 is a dark, moderate violet.
In the RGB color model it is made of 31.8% red, 11% green and 46.7% blue (81, 28, 119).
Its hue angle is 275°, with 62% saturation and 29% lightness. For print, the CMYK equivalent is 32% cyan, 76% magenta, 0% yellow and 53% black.
The closest named color is Velvet Vortex (#540D6E), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.78:1).
#511C77 color codes
| HEX | #511C77 | |
|---|---|---|
| RGB | rgb(81, 28, 119) | |
| RGB percent | rgb(31.8%, 11%, 46.7%) | |
| HSL | hsl(275, 62%, 29%) | |
| HSV / HSB | hsv(275, 76%, 47%) | |
| CMYK | cmyk(32%, 76%, 0%, 53%) | |
| CIE LAB | lab(23.38, 41.22, -41.52) | |
| CIE LCH | lch(23.38, 58.51, 314.79) | |
| CIE XYZ | xyz(7.138, 3.912, 17.828) | |
| Decimal | 5315703 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #511C77, 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 #511C77 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.78:1 | Pass | Pass | Pass |
| #511C77 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.78:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #511C77 looks to people with the most common types of color vision deficiency.
#00367aProtanopia
no red cones#003875Deuteranopia
no green cones#4b3248Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #511c77; }
.text { color: #511c77; }
.border { border: 2px solid #511c77; }
.transparent { background-color: rgb(81 28 119 / 50%); }
.gradient { background: linear-gradient(to right, #511c77, #771c70); }
Similar colors
#540d6eVelvet Vortex#5b1e8bIntergalactic Settlement#4b1e87Occult#522a6fPurple Seduction#442266Fading Horizon#4b2c74Mystic Nights#661188Extraviolet#662288Sapphire Siren
Closest common color name: Indigo.
Questions
- What color is #511C77?
- #511C77 is a dark, moderate violet, closest to the named color Velvet Vortex. It belongs to the purple family of colors.
- What is the RGB value of #511C77?
- The RGB value is 81, 28, 119: 81 red, 28 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #511C77?
- The complementary color is #42771C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #511C77?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.78:1. WCAG asks for at least 4.5:1 for normal text.