#3A2F70 color
The hex color #3A2F70 is a dark, desaturated violet.
In the RGB color model it is made of 22.7% red, 18.4% green and 43.9% blue (58, 47, 112).
Its hue angle is 250°, with 41% saturation and 31% lightness. For print, the CMYK equivalent is 48% cyan, 58% magenta, 0% yellow and 56% black.
The closest named color is Her Highness (#432E6F), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.54:1).
#3A2F70 color codes
| HEX | #3A2F70 | |
|---|---|---|
| RGB | rgb(58, 47, 112) | |
| RGB percent | rgb(22.7%, 18.4%, 43.9%) | |
| HSL | hsl(250, 41%, 31%) | |
| HSV / HSB | hsv(250, 58%, 44%) | |
| CMYK | cmyk(48%, 58%, 0%, 56%) | |
| CIE LAB | lab(24.01, 23.1, -36.16) | |
| CIE LCH | lch(24.01, 42.91, 302.57) | |
| CIE XYZ | xyz(5.685, 4.102, 15.818) | |
| Decimal | 3813232 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A2F70, 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 #3A2F70 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.54:1 | Pass | Pass | Pass |
| #3A2F70 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.54:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #3A2F70 looks to people with the most common types of color vision deficiency.
#0a3b72Protanopia
no red cones#0a376fDeuteranopia
no green cones#293d4aTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #3a2f70; }
.text { color: #3a2f70; }
.border { border: 2px solid #3a2f70; }
.transparent { background-color: rgb(58 47 112 / 50%); }
.gradient { background: linear-gradient(to right, #3a2f70, #5b2f70); }
Similar colors
#432e6fHer Highness#48357bGalactic Compass#2e2364Indie Go#332266Dark Dreams#4b2c74Mystic Nights#443388Majestic Eggplant#332277Deep Space Rodeo#2e305eGalaxea
Closest common color name: Dark Slate Blue.
Questions
- What color is #3A2F70?
- #3A2F70 is a dark, desaturated violet, closest to the named color Her Highness. It belongs to the blue family of colors.
- What is the RGB value of #3A2F70?
- The RGB value is 58, 47, 112: 58 red, 47 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #3A2F70?
- The complementary color is #65702F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A2F70?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.54:1. WCAG asks for at least 4.5:1 for normal text.