#4E3A78 color
The hex color #4E3A78 is a dark, desaturated violet.
In the RGB color model it is made of 30.6% red, 22.7% green and 47.1% blue (78, 58, 120).
Its hue angle is 259°, with 35% saturation and 35% lightness. For print, the CMYK equivalent is 35% cyan, 52% magenta, 0% yellow and 53% black.
The closest named color is Galactic Compass (#48357B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.54:1).
#4E3A78 color codes
| HEX | #4E3A78 | |
|---|---|---|
| RGB | rgb(78, 58, 120) | |
| RGB percent | rgb(30.6%, 22.7%, 47.1%) | |
| HSL | hsl(259, 35%, 35%) | |
| HSV / HSB | hsv(259, 52%, 47%) | |
| CMYK | cmyk(35%, 52%, 0%, 53%) | |
| CIE LAB | lab(29.42, 23.76, -32.47) | |
| CIE LCH | lch(29.42, 40.24, 306.2) | |
| CIE XYZ | xyz(8.044, 6.002, 18.5) | |
| Decimal | 5126776 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E3A78, 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 #4E3A78 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.54:1 | Pass | Pass | Pass |
| #4E3A78 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.54:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #4E3A78 looks to people with the most common types of color vision deficiency.
#24467aProtanopia
no red cones#284577Deuteranopia
no green cones#454653Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #4e3a78; }
.text { color: #4e3a78; }
.border { border: 2px solid #4e3a78; }
.transparent { background-color: rgb(78 58 120 / 50%); }
.gradient { background: linear-gradient(to right, #4e3a78, #6d3a78); }
Similar colors
#48357bGalactic Compass#583580Kingfisher Daisy#4a3b6aMeteorite#432e6fHer Highness#4b2c74Mystic Nights#5b4276Drifting Violet#5c457bIn the Vines#483d8bDark Slate Blue
Questions
- What color is #4E3A78?
- #4E3A78 is a dark, desaturated violet, closest to the named color Galactic Compass. It belongs to the purple family of colors.
- What is the RGB value of #4E3A78?
- The RGB value is 78, 58, 120: 78 red, 58 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #4E3A78?
- The complementary color is #64783A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E3A78?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.54:1. WCAG asks for at least 4.5:1 for normal text.