#4C1170 color
The hex color #4C1170 is a dark, moderate violet.
In the RGB color model it is made of 29.8% red, 6.7% green and 43.9% blue (76, 17, 112).
Its hue angle is 277°, with 74% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 85% magenta, 0% yellow and 56% black.
The closest named color is Velvet Vortex (#540D6E), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.95:1).
#4C1170 color codes
| HEX | #4C1170 | |
|---|---|---|
| RGB | rgb(76, 17, 112) | |
| RGB percent | rgb(29.8%, 6.7%, 43.9%) | |
| HSL | hsl(277, 74%, 25%) | |
| HSV / HSB | hsv(277, 85%, 44%) | |
| CMYK | cmyk(32%, 85%, 0%, 56%) | |
| CIE LAB | lab(20.47, 43.05, -41.79) | |
| CIE LCH | lch(20.47, 59.99, 315.85) | |
| CIE XYZ | xyz(6.105, 3.107, 15.604) | |
| Decimal | 4985200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C1170, 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 #4C1170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.95:1 | Pass | Pass | Pass |
| #4C1170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.95:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #4C1170 looks to people with the most common types of color vision deficiency.
#002f73Protanopia
no red cones#00326eDeuteranopia
no green cones#462a41Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #4c1170; }
.text { color: #4c1170; }
.border { border: 2px solid #4c1170; }
.transparent { background-color: rgb(76 17 112 / 50%); }
.gradient { background: linear-gradient(to right, #4c1170, #701164); }
Similar colors
#540d6eVelvet Vortex#4b0082Indigo#4b0183Indigo Static#442266Fading Horizon#4b1e87Occult#37115cWicked Purple#3a1f76Explorer of the Galaxies#5b1e8bIntergalactic Settlement
Questions
- What color is #4C1170?
- #4C1170 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 #4C1170?
- The RGB value is 76, 17, 112: 76 red, 17 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #4C1170?
- The complementary color is #357011, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C1170?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.95:1. WCAG asks for at least 4.5:1 for normal text.