#413E42 color
The hex color #413E42 is a dark gray.
In the RGB color model it is made of 25.5% red, 24.3% green and 25.9% blue (65, 62, 66).
Its hue angle is 285°, with 3% saturation and 25% lightness. For print, the CMYK equivalent is 2% cyan, 6% magenta, 0% yellow and 74% black.
The closest named color is Moonless Night (#3C393D), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.54:1).
#413E42 color codes
| HEX | #413E42 | |
|---|---|---|
| RGB | rgb(65, 62, 66) | |
| RGB percent | rgb(25.5%, 24.3%, 25.9%) | |
| HSL | hsl(285, 3%, 25%) | |
| HSV / HSB | hsv(285, 6%, 26%) | |
| CMYK | cmyk(2%, 6%, 0%, 74%) | |
| CIE LAB | lab(26.63, 2.17, -1.99) | |
| CIE LCH | lch(26.63, 2.94, 317.52) | |
| CIE XYZ | xyz(4.886, 4.962, 5.854) | |
| Decimal | 4275778 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #413E42, 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 #413E42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.54:1 | Pass | Pass | Pass |
| #413E42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.54:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #413E42 looks to people with the most common types of color vision deficiency.
#3e3f42Protanopia
no red cones#3e3f42Deuteranopia
no green cones#413e3fTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #413e42; }
.text { color: #413e42; }
.border { border: 2px solid #413e42; }
.transparent { background-color: rgb(65 62 66 / 50%); }
.gradient { background: linear-gradient(to right, #413e42, #423e41); }
Similar colors
#3c393dMoonless Night#3f3c43Tuxedo#3b3c41In the Dark#3b3b3dCoal Hard Truth#38393fAfter Midnight#3f3939Eclipse#463d3eBlack Truffle#37393eArtist’s Charcoal
Closest common color name: Graphite.
Questions
- What color is #413E42?
- #413E42 is a dark gray, closest to the named color Moonless Night. It belongs to the gray family of colors.
- What is the RGB value of #413E42?
- The RGB value is 65, 62, 66: 65 red, 62 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #413E42?
- The complementary color is #3F423E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #413E42?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.54:1. WCAG asks for at least 4.5:1 for normal text.