#4B2174 color
The hex color #4B2174 is a dark, moderate violet.
In the RGB color model it is made of 29.4% red, 12.9% green and 45.5% blue (75, 33, 116).
Its hue angle is 270°, with 56% saturation and 29% lightness. For print, the CMYK equivalent is 35% cyan, 72% magenta, 0% yellow and 55% black.
The closest named color is Mystic Nights (#4B2C74), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.87:1).
#4B2174 color codes
| HEX | #4B2174 | |
|---|---|---|
| RGB | rgb(75, 33, 116) | |
| RGB percent | rgb(29.4%, 12.9%, 45.5%) | |
| HSL | hsl(270, 56%, 29%) | |
| HSV / HSB | hsv(270, 72%, 45%) | |
| CMYK | cmyk(35%, 72%, 0%, 55%) | |
| CIE LAB | lab(23.15, 36.73, -40.01) | |
| CIE LCH | lch(23.15, 54.31, 312.55) | |
| CIE XYZ | xyz(6.597, 3.845, 16.914) | |
| Decimal | 4923764 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4B2174, 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 #4B2174 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.87:1 | Pass | Pass | Pass |
| #4B2174 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.87:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #4B2174 looks to people with the most common types of color vision deficiency.
#003676Protanopia
no red cones#003772Deuteranopia
no green cones#433448Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #4b2174; }
.text { color: #4b2174; }
.border { border: 2px solid #4b2174; }
.transparent { background-color: rgb(75 33 116 / 50%); }
.gradient { background: linear-gradient(to right, #4b2174, #742174); }
Similar colors
#4b2c74Mystic Nights#442266Fading Horizon#522a6fPurple Seduction#3a1f76Explorer of the Galaxies#4b1e87Occult#540d6eVelvet Vortex#442288Galactic Civilization#5b1e8bIntergalactic Settlement
Closest common color name: Indigo.
Questions
- What color is #4B2174?
- #4B2174 is a dark, moderate violet, closest to the named color Mystic Nights. It belongs to the purple family of colors.
- What is the RGB value of #4B2174?
- The RGB value is 75, 33, 116: 75 red, 33 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #4B2174?
- The complementary color is #4A7421, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4B2174?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.87:1. WCAG asks for at least 4.5:1 for normal text.