#3A2D55 color
The hex color #3A2D55 is a dark, desaturated violet.
In the RGB color model it is made of 22.7% red, 17.6% green and 33.3% blue (58, 45, 85).
Its hue angle is 260°, with 31% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 47% magenta, 0% yellow and 67% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.45:1).
#3A2D55 color codes
| HEX | #3A2D55 | |
|---|---|---|
| RGB | rgb(58, 45, 85) | |
| RGB percent | rgb(22.7%, 17.6%, 33.3%) | |
| HSL | hsl(260, 31%, 25%) | |
| HSV / HSB | hsv(260, 47%, 33%) | |
| CMYK | cmyk(32%, 47%, 0%, 67%) | |
| CIE LAB | lab(21.7, 15.98, -22.21) | |
| CIE LCH | lch(21.7, 27.37, 305.74) | |
| CIE XYZ | xyz(4.323, 3.432, 9.027) | |
| Decimal | 3812693 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A2D55, 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 #3A2D55 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.45:1 | Pass | Pass | Pass |
| #3A2D55 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.45:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #3A2D55 looks to people with the most common types of color vision deficiency.
#213456Protanopia
no red cones#243454Deuteranopia
no green cones#34343dTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #3a2d55; }
.text { color: #3a2d55; }
.border { border: 2px solid #3a2d55; }
.transparent { background-color: rgb(58 45 85 / 50%); }
.gradient { background: linear-gradient(to right, #3a2d55, #4e2d55); }
Similar colors
#372d52Midnight Pie#322c56Purple Noir#3c2f4eSanctum of Shadows#372354Stormy Night#2a2551Pāua#2c2c57Deep Sea Base#2a2243Midnight Velvet#48295bAcai
Closest common color name: Dark Purple.
Questions
- What color is #3A2D55?
- #3A2D55 is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
- What is the RGB value of #3A2D55?
- The RGB value is 58, 45, 85: 58 red, 45 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #3A2D55?
- The complementary color is #48552D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A2D55?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.45:1. WCAG asks for at least 4.5:1 for normal text.