#4A3271 color
The hex color #4A3271 is a dark, desaturated violet.
In the RGB color model it is made of 29% red, 19.6% green and 44.3% blue (74, 50, 113).
Its hue angle is 263°, with 39% saturation and 32% lightness. For print, the CMYK equivalent is 35% cyan, 56% magenta, 0% yellow and 56% black.
The closest named color is Her Highness (#432E6F), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.57:1).
#4A3271 color codes
| HEX | #4A3271 | |
|---|---|---|
| RGB | rgb(74, 50, 113) | |
| RGB percent | rgb(29%, 19.6%, 44.3%) | |
| HSL | hsl(263, 39%, 32%) | |
| HSV / HSB | hsv(263, 56%, 44%) | |
| CMYK | cmyk(35%, 56%, 0%, 56%) | |
| CIE LAB | lab(26.53, 25.7, -32.66) | |
| CIE LCH | lch(26.53, 41.56, 308.2) | |
| CIE XYZ | xyz(6.945, 4.929, 16.205) | |
| Decimal | 4862577 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4A3271, 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 #4A3271 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.57:1 | Pass | Pass | Pass |
| #4A3271 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.57:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #4A3271 looks to people with the most common types of color vision deficiency.
#1a3f73Protanopia
no red cones#213e70Deuteranopia
no green cones#423e4cTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #4a3271; }
.text { color: #4a3271; }
.border { border: 2px solid #4a3271; }
.transparent { background-color: rgb(74 50 113 / 50%); }
.gradient { background: linear-gradient(to right, #4a3271, #6a3271); }
Similar colors
#432e6fHer Highness#4b2c74Mystic Nights#48357bGalactic Compass#522a6fPurple Seduction#583580Kingfisher Daisy#4a3b6aMeteorite#442266Fading Horizon#48295bAcai
Closest common color name: Dark Slate Blue.
Questions
- What color is #4A3271?
- #4A3271 is a dark, desaturated violet, closest to the named color Her Highness. It belongs to the purple family of colors.
- What is the RGB value of #4A3271?
- The RGB value is 74, 50, 113: 74 red, 50 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #4A3271?
- The complementary color is #597132, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4A3271?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.57:1. WCAG asks for at least 4.5:1 for normal text.