#4C1277 color
The hex color #4C1277 is a dark, moderate violet.
In the RGB color model it is made of 29.8% red, 7.1% green and 46.7% blue (76, 18, 119).
Its hue angle is 274°, with 74% saturation and 27% lightness. For print, the CMYK equivalent is 36% cyan, 85% magenta, 0% yellow and 53% black.
The closest named color is Indigo (#4B0082), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.65:1).
#4C1277 color codes
| HEX | #4C1277 | |
|---|---|---|
| RGB | rgb(76, 18, 119) | |
| RGB percent | rgb(29.8%, 7.1%, 46.7%) | |
| HSL | hsl(274, 74%, 27%) | |
| HSV / HSB | hsv(274, 85%, 47%) | |
| CMYK | cmyk(36%, 85%, 0%, 53%) | |
| CIE LAB | lab(21.21, 44.35, -45.08) | |
| CIE LCH | lch(21.21, 63.24, 314.53) | |
| CIE XYZ | xyz(6.526, 3.301, 17.743) | |
| Decimal | 4985463 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C1277, 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 #4C1277 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.65:1 | Pass | Pass | Pass |
| #4C1277 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.65:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #4C1277 looks to people with the most common types of color vision deficiency.
#00327aProtanopia
no red cones#003375Deuteranopia
no green cones#442e46Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #4c1277; }
.text { color: #4c1277; }
.border { border: 2px solid #4c1277; }
.transparent { background-color: rgb(76 18 119 / 50%); }
.gradient { background: linear-gradient(to right, #4c1277, #771270); }
Similar colors
#4b0082Indigo#4b0183Indigo Static#540d6eVelvet Vortex#4b1e87Occult#5b1e8bIntergalactic Settlement#3a1f76Explorer of the Galaxies#442288Galactic Civilization#661188Extraviolet
Questions
- What color is #4C1277?
- #4C1277 is a dark, moderate violet, closest to the named color Indigo. It belongs to the purple family of colors.
- What is the RGB value of #4C1277?
- The RGB value is 76, 18, 119: 76 red, 18 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #4C1277?
- The complementary color is #3D7712, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C1277?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.65:1. WCAG asks for at least 4.5:1 for normal text.