#3A313E color
The hex color #3A313E is a dark, grayish magenta.
In the RGB color model it is made of 22.7% red, 19.2% green and 24.3% blue (58, 49, 62).
Its hue angle is 282°, with 12% saturation and 22% lightness. For print, the CMYK equivalent is 6% cyan, 21% magenta, 0% yellow and 76% black.
The closest named color is Royal Decree (#403547), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.43:1).
#3A313E color codes
| HEX | #3A313E | |
|---|---|---|
| RGB | rgb(58, 49, 62) | |
| RGB percent | rgb(22.7%, 19.2%, 24.3%) | |
| HSL | hsl(282, 12%, 22%) | |
| HSV / HSB | hsv(282, 21%, 24%) | |
| CMYK | cmyk(6%, 21%, 0%, 76%) | |
| CIE LAB | lab(21.74, 6.97, -6.67) | |
| CIE LCH | lch(21.74, 9.65, 316.26) | |
| CIE XYZ | xyz(3.713, 3.444, 5.026) | |
| Decimal | 3813694 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A313E, 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 #3A313E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.43:1 | Pass | Pass | Pass |
| #3A313E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.43:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #3A313E looks to people with the most common types of color vision deficiency.
#2f343fProtanopia
no red cones#31343eDeuteranopia
no green cones#3a3235Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #3a313e; }
.text { color: #3a313e; }
.border { border: 2px solid #3a313e; }
.transparent { background-color: rgb(58 49 62 / 50%); }
.gradient { background: linear-gradient(to right, #3a313e, #3e313c); }
Similar colors
#403547Royal Decree#393540Professor Plum#342931Melanzane#443240Voodoo#413d4bItalian Grape#35343fWitches Cauldron#42364cCall It a Night#352b30Mystical Shadow
Closest common color name: Jet Black.
Questions
- What color is #3A313E?
- #3A313E is a dark, grayish magenta, closest to the named color Royal Decree. It belongs to the gray family of colors.
- What is the RGB value of #3A313E?
- The RGB value is 58, 49, 62: 58 red, 49 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #3A313E?
- The complementary color is #353E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A313E?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.43:1. WCAG asks for at least 4.5:1 for normal text.