#3E2772 color
The hex color #3E2772 is a dark, desaturated violet.
In the RGB color model it is made of 24.3% red, 15.3% green and 44.7% blue (62, 39, 114).
Its hue angle is 258°, with 49% saturation and 30% lightness. For print, the CMYK equivalent is 46% cyan, 66% magenta, 0% yellow and 55% black.
The closest named color is Explorer of the Galaxies (#3A1F76), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.08:1).
#3E2772 color codes
| HEX | #3E2772 | |
|---|---|---|
| RGB | rgb(62, 39, 114) | |
| RGB percent | rgb(24.3%, 15.3%, 44.7%) | |
| HSL | hsl(258, 49%, 30%) | |
| HSV / HSB | hsv(258, 66%, 45%) | |
| CMYK | cmyk(46%, 66%, 0%, 55%) | |
| CIE LAB | lab(22.62, 29.81, -39.67) | |
| CIE LCH | lch(22.62, 49.62, 306.92) | |
| CIE XYZ | xyz(5.749, 3.69, 16.326) | |
| Decimal | 4073330 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E2772, 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 #3E2772 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.08:1 | Pass | Pass | Pass |
| #3E2772 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.08:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #3E2772 looks to people with the most common types of color vision deficiency.
#003774Protanopia
no red cones#003570Deuteranopia
no green cones#2f3848Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #3e2772; }
.text { color: #3e2772; }
.border { border: 2px solid #3e2772; }
.transparent { background-color: rgb(62 39 114 / 50%); }
.gradient { background: linear-gradient(to right, #3e2772, #642772); }
Similar colors
#3a1f76Explorer of the Galaxies#432e6fHer Highness#332266Dark Dreams#332277Deep Space Rodeo#4b2c74Mystic Nights#442266Fading Horizon#2e2364Indie Go#48357bGalactic Compass
Closest common color name: Midnight Blue.
Questions
- What color is #3E2772?
- #3E2772 is a dark, desaturated violet, closest to the named color Explorer of the Galaxies. It belongs to the purple family of colors.
- What is the RGB value of #3E2772?
- The RGB value is 62, 39, 114: 62 red, 39 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #3E2772?
- The complementary color is #5B7227, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E2772?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.08:1. WCAG asks for at least 4.5:1 for normal text.