#42313E color
The hex color #42313E is a dark, grayish magenta.
In the RGB color model it is made of 25.9% red, 19.2% green and 24.3% blue (66, 49, 62).
Its hue angle is 314°, with 15% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 26% magenta, 6% yellow and 74% black.
The closest named color is Voodoo (#443240), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.07:1).
#42313E color codes
| HEX | #42313E | |
|---|---|---|
| RGB | rgb(66, 49, 62) | |
| RGB percent | rgb(25.9%, 19.2%, 24.3%) | |
| HSL | hsl(314, 15%, 23%) | |
| HSV / HSB | hsv(314, 26%, 26%) | |
| CMYK | cmyk(0%, 26%, 6%, 74%) | |
| CIE LAB | lab(22.66, 10.32, -5.19) | |
| CIE LCH | lch(22.66, 11.55, 333.29) | |
| CIE XYZ | xyz(4.215, 3.703, 5.049) | |
| Decimal | 4337982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42313E, 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 #42313E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.07:1 | Pass | Pass | Pass |
| #42313E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.07:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #42313E looks to people with the most common types of color vision deficiency.
#31353fProtanopia
no red cones#35373dDeuteranopia
no green cones#443235Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #42313e; }
.text { color: #42313e; }
.border { border: 2px solid #42313e; }
.transparent { background-color: rgb(66 49 62 / 50%); }
.gradient { background: linear-gradient(to right, #42313e, #423136); }
Similar colors
#443240Voodoo#403547Royal Decree#342931Melanzane#42364cCall It a Night#4b373aVibrant Vine#483c41Pitch Black#352b30Mystical Shadow#492a34Wine Tasting
Closest common color name: Eggplant.
Questions
- What color is #42313E?
- #42313E is a dark, grayish magenta, closest to the named color Voodoo. It belongs to the gray family of colors.
- What is the RGB value of #42313E?
- The RGB value is 66, 49, 62: 66 red, 49 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #42313E?
- The complementary color is #314235, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42313E?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.07:1. WCAG asks for at least 4.5:1 for normal text.