#27242E color
The hex color #27242E is a very dark, grayish violet.
In the RGB color model it is made of 15.3% red, 14.1% green and 18% blue (39, 36, 46).
Its hue angle is 258°, with 12% saturation and 16% lightness. For print, the CMYK equivalent is 15% cyan, 22% magenta, 0% yellow and 82% black.
The closest named color is Haiti (#2C2A35), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.24:1).
#27242E color codes
| HEX | #27242E | |
|---|---|---|
| RGB | rgb(39, 36, 46) | |
| RGB percent | rgb(15.3%, 14.1%, 18%) | |
| HSL | hsl(258, 12%, 16%) | |
| HSV / HSB | hsv(258, 22%, 18%) | |
| CMYK | cmyk(15%, 22%, 0%, 82%) | |
| CIE LAB | lab(14.9, 3.93, -6.08) | |
| CIE LCH | lch(14.9, 7.24, 302.92) | |
| CIE XYZ | xyz(1.961, 1.89, 2.846) | |
| Decimal | 2565166 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27242E, 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 #27242E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.24:1 | Pass | Pass | Pass |
| #27242E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.24:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #27242E looks to people with the most common types of color vision deficiency.
#22252eProtanopia
no red cones#23252eDeuteranopia
no green cones#262527Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #27242e; }
.text { color: #27242e; }
.border { border: 2px solid #27242e; }
.transparent { background-color: rgb(39 36 46 / 50%); }
.gradient { background: linear-gradient(to right, #27242e, #2c242e); }
Similar colors
#2c2a35Haiti#27252aDarth Vader#29292fJaguar#222233Black Velvet#252024Ink Black#28282dAnthracite#201b20Night Demons#1f2133Eclipse Elixir
Closest common color name: Licorice.
Questions
- What color is #27242E?
- #27242E is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #27242E?
- The RGB value is 39, 36, 46: 39 red, 36 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #27242E?
- The complementary color is #2B2E24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27242E?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.24:1. WCAG asks for at least 4.5:1 for normal text.