#2F242F color
The hex color #2F242F is a very dark, grayish magenta.
In the RGB color model it is made of 18.4% red, 14.1% green and 18.4% blue (47, 36, 47).
Its hue angle is 300°, with 13% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 0% yellow and 82% black.
The closest named color is Melanzane (#342931), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.85:1).
#2F242F color codes
| HEX | #2F242F | |
|---|---|---|
| RGB | rgb(47, 36, 47) | |
| RGB percent | rgb(18.4%, 14.1%, 18.4%) | |
| HSL | hsl(300, 13%, 16%) | |
| HSV / HSB | hsv(300, 23%, 18%) | |
| CMYK | cmyk(0%, 23%, 0%, 82%) | |
| CIE LAB | lab(15.86, 7.64, -5.25) | |
| CIE LCH | lch(15.86, 9.28, 325.49) | |
| CIE XYZ | xyz(2.316, 2.071, 2.967) | |
| Decimal | 3089455 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F242F, 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 #2F242F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.85:1 | Pass | Pass | Pass |
| #2F242F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.85:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #2F242F looks to people with the most common types of color vision deficiency.
#23272fProtanopia
no red cones#26282fDeuteranopia
no green cones#302528Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #2f242f; }
.text { color: #2f242f; }
.border { border: 2px solid #2f242f; }
.transparent { background-color: rgb(47 36 47 / 50%); }
.gradient { background: linear-gradient(to right, #2f242f, #2f2429); }
Similar colors
#342931Melanzane#352b30Mystical Shadow#34282cSmoky Charcoal#2c2a35Haiti#372528Aubergine#252024Ink Black#201b20Night Demons#443240Voodoo
Closest common color name: Dark Purple.
Questions
- What color is #2F242F?
- #2F242F is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #2F242F?
- The RGB value is 47, 36, 47: 47 red, 36 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #2F242F?
- The complementary color is #242F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F242F?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.85:1. WCAG asks for at least 4.5:1 for normal text.