#3A2338 color
The hex color #3A2338 is a very dark, grayish magenta.
In the RGB color model it is made of 22.7% red, 13.7% green and 22% blue (58, 35, 56).
Its hue angle is 305°, with 25% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 40% magenta, 3% yellow and 77% black.
The closest named color is Dark Purple (#301934), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.21:1).
#3A2338 color codes
| HEX | #3A2338 | |
|---|---|---|
| RGB | rgb(58, 35, 56) | |
| RGB percent | rgb(22.7%, 13.7%, 22%) | |
| HSL | hsl(305, 25%, 18%) | |
| HSV / HSB | hsv(305, 40%, 23%) | |
| CMYK | cmyk(0%, 40%, 3%, 77%) | |
| CIE LAB | lab(17.4, 15.09, -9.12) | |
| CIE LCH | lch(17.4, 17.63, 328.85) | |
| CIE XYZ | xyz(3.06, 2.387, 4.04) | |
| Decimal | 3810104 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A2338, 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 #3A2338 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.21:1 | Pass | Pass | Pass |
| #3A2338 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.21:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #3A2338 looks to people with the most common types of color vision deficiency.
#222939Protanopia
no red cones#282c37Deuteranopia
no green cones#3c252bTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #3a2338; }
.text { color: #3a2338; }
.border { border: 2px solid #3a2338; }
.transparent { background-color: rgb(58 35 56 / 50%); }
.gradient { background: linear-gradient(to right, #3a2338, #3a232d); }
Similar colors
#301934Dark Purple#442244Purple Void#391531Nightly Voyager#443240Voodoo#44232fCastro#4e334eShadow Purple#3b193fCreatures of the Night#43182fBlackberry
Questions
- What color is #3A2338?
- #3A2338 is a very dark, grayish magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #3A2338?
- The RGB value is 58, 35, 56: 58 red, 35 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #3A2338?
- The complementary color is #233A25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A2338?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.21:1. WCAG asks for at least 4.5:1 for normal text.