#3A1A41 color
The hex color #3A1A41 is a very dark, desaturated magenta.
In the RGB color model it is made of 22.7% red, 10.2% green and 25.5% blue (58, 26, 65).
Its hue angle is 289°, with 43% saturation and 18% lightness. For print, the CMYK equivalent is 11% cyan, 60% magenta, 0% yellow and 75% black.
The closest named color is Creatures of the Night (#3B193F), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.96:1).
#3A1A41 color codes
| HEX | #3A1A41 | |
|---|---|---|
| RGB | rgb(58, 26, 65) | |
| RGB percent | rgb(22.7%, 10.2%, 25.5%) | |
| HSL | hsl(289, 43%, 18%) | |
| HSV / HSB | hsv(289, 60%, 25%) | |
| CMYK | cmyk(11%, 60%, 0%, 75%) | |
| CIE LAB | lab(15.59, 23.03, -18.22) | |
| CIE LCH | lch(15.59, 29.37, 321.65) | |
| CIE XYZ | xyz(3.068, 2.02, 5.228) | |
| Decimal | 3807809 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A1A41, 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 #3A1A41 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.96:1 | Pass | Pass | Pass |
| #3A1A41 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.96: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 #3A1A41 looks to people with the most common types of color vision deficiency.
#132542Protanopia
no red cones#1d2840Deuteranopia
no green cones#3a202aTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #3a1a41; }
.text { color: #3a1a41; }
.border { border: 2px solid #3a1a41; }
.transparent { background-color: rgb(58 26 65 / 50%); }
.gradient { background: linear-gradient(to right, #3a1a41, #411a34); }
Similar colors
#3b193fCreatures of the Night#442244Purple Void#441144Velvet Cosmos#301934Dark Purple#431c53Plunged Into Darkness#2b0f2eDark Prom Queen#391531Nightly Voyager#4a2559Wonka Purple
Questions
- What color is #3A1A41?
- #3A1A41 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 #3A1A41?
- The RGB value is 58, 26, 65: 58 red, 26 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #3A1A41?
- The complementary color is #21411A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A1A41?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.96:1. WCAG asks for at least 4.5:1 for normal text.