#3A2E45 color
The hex color #3A2E45 is a dark, grayish violet.
In the RGB color model it is made of 22.7% red, 18% green and 27.1% blue (58, 46, 69).
Its hue angle is 271°, with 20% saturation and 23% lightness. For print, the CMYK equivalent is 16% cyan, 33% magenta, 0% yellow and 73% black.
The closest named color is Maharaja (#3F354F), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.68:1).
#3A2E45 color codes
| HEX | #3A2E45 | |
|---|---|---|
| RGB | rgb(58, 46, 69) | |
| RGB percent | rgb(22.7%, 18%, 27.1%) | |
| HSL | hsl(271, 20%, 23%) | |
| HSV / HSB | hsv(271, 33%, 27%) | |
| CMYK | cmyk(16%, 33%, 0%, 73%) | |
| CIE LAB | lab(21.14, 10.8, -12.33) | |
| CIE LCH | lch(21.14, 16.39, 311.22) | |
| CIE XYZ | xyz(3.796, 3.283, 6.063) | |
| Decimal | 3812933 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A2E45, 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 #3A2E45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.68:1 | Pass | Pass | Pass |
| #3A2E45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.68:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #3A2E45 looks to people with the most common types of color vision deficiency.
#2a3246Protanopia
no red cones#2c3344Deuteranopia
no green cones#393136Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #3a2e45; }
.text { color: #3a2e45; }
.border { border: 2px solid #3a2e45; }
.transparent { background-color: rgb(58 46 69 / 50%); }
.gradient { background: linear-gradient(to right, #3a2e45, #452e44); }
Similar colors
#3f354fMaharaja#42364cCall It a Night#3c2f4eSanctum of Shadows#403547Royal Decree#443240Voodoo#372d52Midnight Pie#2a2243Midnight Velvet#4e334eShadow Purple
Closest common color name: Dark Purple.
Questions
- What color is #3A2E45?
- #3A2E45 is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
- What is the RGB value of #3A2E45?
- The RGB value is 58, 46, 69: 58 red, 46 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #3A2E45?
- The complementary color is #39452E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A2E45?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.68:1. WCAG asks for at least 4.5:1 for normal text.