#3A1846 color
The hex color #3A1846 is a very dark, desaturated magenta.
In the RGB color model it is made of 22.7% red, 9.4% green and 27.5% blue (58, 24, 70).
Its hue angle is 284°, with 49% saturation and 18% lightness. For print, the CMYK equivalent is 17% cyan, 66% magenta, 0% yellow and 73% black.
The closest named color is Creatures of the Night (#3B193F), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.01:1).
#3A1846 color codes
| HEX | #3A1846 | |
|---|---|---|
| RGB | rgb(58, 24, 70) | |
| RGB percent | rgb(22.7%, 9.4%, 27.5%) | |
| HSL | hsl(284, 49%, 18%) | |
| HSV / HSB | hsv(284, 66%, 27%) | |
| CMYK | cmyk(17%, 66%, 0%, 73%) | |
| CIE LAB | lab(15.46, 25.45, -21.91) | |
| CIE LCH | lch(15.46, 33.58, 319.28) | |
| CIE XYZ | xyz(3.177, 1.995, 6.011) | |
| Decimal | 3807302 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A1846, 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 #3A1846 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15.01:1 | Pass | Pass | Pass |
| #3A1846 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.01:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #3A1846 looks to people with the most common types of color vision deficiency.
#0c2547Protanopia
no red cones#192845Deuteranopia
no green cones#39202cTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #3a1846; }
.text { color: #3a1846; }
.border { border: 2px solid #3a1846; }
.transparent { background-color: rgb(58 24 70 / 50%); }
.gradient { background: linear-gradient(to right, #3a1846, #46183b); }
Similar colors
#3b193fCreatures of the Night#431c53Plunged Into Darkness#441144Velvet Cosmos#4a2559Wonka Purple#442244Purple Void#3b0346Romanic Scene#372354Stormy Night#48295bAcai
Closest common color name: Dark Purple.
Questions
- What color is #3A1846?
- #3A1846 is a very dark, desaturated magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
- What is the RGB value of #3A1846?
- The RGB value is 58, 24, 70: 58 red, 24 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #3A1846?
- The complementary color is #244618, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A1846?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15.01:1. WCAG asks for at least 4.5:1 for normal text.