#4A2B7E color
The hex color #4A2B7E is a dark, desaturated violet.
In the RGB color model it is made of 29% red, 16.9% green and 49.4% blue (74, 43, 126).
Its hue angle is 262°, with 49% saturation and 33% lightness. For print, the CMYK equivalent is 41% cyan, 66% magenta, 0% yellow and 51% black.
The closest named color is Mystic Nights (#4B2C74), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.84:1).
#4A2B7E color codes
| HEX | #4A2B7E | |
|---|---|---|
| RGB | rgb(74, 43, 126) | |
| RGB percent | rgb(29%, 16.9%, 49.4%) | |
| HSL | hsl(262, 49%, 33%) | |
| HSV / HSB | hsv(262, 66%, 49%) | |
| CMYK | cmyk(41%, 66%, 0%, 51%) | |
| CIE LAB | lab(25.83, 33.7, -42.03) | |
| CIE LCH | lch(25.83, 53.87, 308.72) | |
| CIE XYZ | xyz(7.453, 4.69, 20.247) | |
| Decimal | 4860798 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4A2B7E, 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 #4A2B7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.84:1 | Pass | Pass | Pass |
| #4A2B7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.84:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #4A2B7E looks to people with the most common types of color vision deficiency.
#003e81Protanopia
no red cones#003c7cDeuteranopia
no green cones#3d3e50Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #4a2b7e; }
.text { color: #4a2b7e; }
.border { border: 2px solid #4a2b7e; }
.transparent { background-color: rgb(74 43 126 / 50%); }
.gradient { background: linear-gradient(to right, #4a2b7e, #732b7e); }
Similar colors
#4b2c74Mystic Nights#572e89Night Fever#48357bGalactic Compass#442288Galactic Civilization#443388Majestic Eggplant#432e6fHer Highness#4b1e87Occult#5c2e88Purple Patch
Closest common color name: Dark Slate Blue.
Questions
- What color is #4A2B7E?
- #4A2B7E is a dark, desaturated violet, closest to the named color Mystic Nights. It belongs to the purple family of colors.
- What is the RGB value of #4A2B7E?
- The RGB value is 74, 43, 126: 74 red, 43 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #4A2B7E?
- The complementary color is #5F7E2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4A2B7E?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.84:1. WCAG asks for at least 4.5:1 for normal text.