#3A283B color
The hex color #3A283B is a very dark, grayish magenta.
In the RGB color model it is made of 22.7% red, 15.7% green and 23.1% blue (58, 40, 59).
Its hue angle is 297°, with 19% saturation and 19% lightness. For print, the CMYK equivalent is 2% cyan, 32% magenta, 0% yellow and 77% black.
The closest named color is Voodoo (#443240), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.58:1).
#3A283B color codes
| HEX | #3A283B | |
|---|---|---|
| RGB | rgb(58, 40, 59) | |
| RGB percent | rgb(22.7%, 15.7%, 23.1%) | |
| HSL | hsl(297, 19%, 19%) | |
| HSV / HSB | hsv(297, 32%, 23%) | |
| CMYK | cmyk(2%, 32%, 0%, 77%) | |
| CIE LAB | lab(18.94, 12.39, -8.86) | |
| CIE LCH | lch(18.94, 15.23, 324.44) | |
| CIE XYZ | xyz(3.293, 2.733, 4.491) | |
| Decimal | 3811387 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A283B, 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 #3A283B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.58:1 | Pass | Pass | Pass |
| #3A283B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.58:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #3A283B looks to people with the most common types of color vision deficiency.
#262d3cProtanopia
no red cones#2b2f3aDeuteranopia
no green cones#3b2a2fTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #3a283b; }
.text { color: #3a283b; }
.border { border: 2px solid #3a283b; }
.transparent { background-color: rgb(58 40 59 / 50%); }
.gradient { background: linear-gradient(to right, #3a283b, #3b2833); }
Similar colors
#443240Voodoo#403547Royal Decree#42364cCall It a Night#301934Dark Purple#3c2f4eSanctum of Shadows#3f354fMaharaja#4e334eShadow Purple#342931Melanzane
Questions
- What color is #3A283B?
- #3A283B is a very dark, grayish magenta, closest to the named color Voodoo. It belongs to the purple family of colors.
- What is the RGB value of #3A283B?
- The RGB value is 58, 40, 59: 58 red, 40 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #3A283B?
- The complementary color is #293B28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A283B?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.58:1. WCAG asks for at least 4.5:1 for normal text.