#383131 color
The hex color #383131 is a dark gray.
In the RGB color model it is made of 22% red, 19.2% green and 19.2% blue (56, 49, 49).
Its hue angle is 0°, with 7% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 13% yellow and 78% black.
The closest named color is After Dark (#3C3535), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.71:1).
#383131 color codes
| HEX | #383131 | |
|---|---|---|
| RGB | rgb(56, 49, 49) | |
| RGB percent | rgb(22%, 19.2%, 19.2%) | |
| HSL | hsl(0, 7%, 21%) | |
| HSV / HSB | hsv(0, 12%, 22%) | |
| CMYK | cmyk(0%, 13%, 13%, 78%) | |
| CIE LAB | lab(21.05, 3.13, 1.15) | |
| CIE LCH | lch(21.05, 3.33, 20.09) | |
| CIE XYZ | xyz(3.284, 3.259, 3.361) | |
| Decimal | 3682609 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383131, 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 #383131 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.71:1 | Pass | Pass | Pass |
| #383131 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.71:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #383131 looks to people with the most common types of color vision deficiency.
#323231Protanopia
no red cones#343331Deuteranopia
no green cones#3a3031Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #383131; }
.text { color: #383131; }
.border { border: 2px solid #383131; }
.transparent { background-color: rgb(56 49 49 / 50%); }
.gradient { background: linear-gradient(to right, #383131, #383531); }
Similar colors
#3c3535After Dark#332e2eNight Rider#322c2bDiesel#3f3939Eclipse#3b2f2fSmoked Black Coffee#3a3532Kilimanjaro#392d2bMole#3d322eSix Feet Under
Closest common color name: Jet Black.
Questions
- What color is #383131?
- #383131 is a dark gray, closest to the named color After Dark. It belongs to the gray family of colors.
- What is the RGB value of #383131?
- The RGB value is 56, 49, 49: 56 red, 49 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #383131?
- The complementary color is #313838, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383131?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.71:1. WCAG asks for at least 4.5:1 for normal text.