#3E3842 color
The hex color #3E3842 is a dark, grayish violet.
In the RGB color model it is made of 24.3% red, 22% green and 25.9% blue (62, 56, 66).
Its hue angle is 276°, with 8% saturation and 24% lightness. For print, the CMYK equivalent is 6% cyan, 15% magenta, 0% yellow and 74% black.
The closest named color is Professor Plum (#393540), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.36:1).
#3E3842 color codes
| HEX | #3E3842 | |
|---|---|---|
| RGB | rgb(62, 56, 66) | |
| RGB percent | rgb(24.3%, 22%, 25.9%) | |
| HSL | hsl(276, 8%, 24%) | |
| HSV / HSB | hsv(276, 15%, 26%) | |
| CMYK | cmyk(6%, 15%, 0%, 74%) | |
| CIE LAB | lab(24.47, 4.88, -5.23) | |
| CIE LCH | lch(24.47, 7.15, 313.05) | |
| CIE XYZ | xyz(4.384, 4.246, 5.742) | |
| Decimal | 4077634 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E3842, 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 #3E3842 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.36:1 | Pass | Pass | Pass |
| #3E3842 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.36:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #3E3842 looks to people with the most common types of color vision deficiency.
#373a42Protanopia
no red cones#383a42Deuteranopia
no green cones#3e393bTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #3e3842; }
.text { color: #3e3842; }
.border { border: 2px solid #3e3842; }
.transparent { background-color: rgb(62 56 66 / 50%); }
.gradient { background: linear-gradient(to right, #3e3842, #423841); }
Similar colors
#393540Professor Plum#413d4bItalian Grape#3f3c43Tuxedo#35343fWitches Cauldron#3c393dMoonless Night#483c41Pitch Black#41373aVoid Wellness Coach#403547Royal Decree
Closest common color name: Graphite.
Questions
- What color is #3E3842?
- #3E3842 is a dark, grayish violet, closest to the named color Professor Plum. It belongs to the gray family of colors.
- What is the RGB value of #3E3842?
- The RGB value is 62, 56, 66: 62 red, 56 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #3E3842?
- The complementary color is #3C4238, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E3842?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.36:1. WCAG asks for at least 4.5:1 for normal text.