#27222E color
The hex color #27222E is a very dark, grayish violet.
In the RGB color model it is made of 15.3% red, 13.3% green and 18% blue (39, 34, 46).
Its hue angle is 265°, with 15% saturation and 16% lightness. For print, the CMYK equivalent is 15% cyan, 26% magenta, 0% yellow and 82% black.
The closest named color is Haiti (#2C2A35), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.5:1).
#27222E color codes
| HEX | #27222E | |
|---|---|---|
| RGB | rgb(39, 34, 46) | |
| RGB percent | rgb(15.3%, 13.3%, 18%) | |
| HSL | hsl(265, 15%, 16%) | |
| HSV / HSB | hsv(265, 26%, 18%) | |
| CMYK | cmyk(15%, 26%, 0%, 82%) | |
| CIE LAB | lab(14.25, 5.37, -7.07) | |
| CIE LCH | lch(14.25, 8.88, 307.23) | |
| CIE XYZ | xyz(1.902, 1.773, 2.826) | |
| Decimal | 2564654 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27222E, 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 #27222E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.5:1 | Pass | Pass | Pass |
| #27222E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.5:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #27222E looks to people with the most common types of color vision deficiency.
#20242fProtanopia
no red cones#21242eDeuteranopia
no green cones#262426Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #27222e; }
.text { color: #27222e; }
.border { border: 2px solid #27222e; }
.transparent { background-color: rgb(39 34 46 / 50%); }
.gradient { background: linear-gradient(to right, #27222e, #2d222e); }
Similar colors
#2c2a35Haiti#222233Black Velvet#1f2133Eclipse Elixir#342931Melanzane#201b20Night Demons#252024Ink Black#27252aDarth Vader#1a161dViolet Void
Closest common color name: Licorice.
Questions
- What color is #27222E?
- #27222E 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 #27222E?
- The RGB value is 39, 34, 46: 39 red, 34 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #27222E?
- The complementary color is #292E22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27222E?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.5:1. WCAG asks for at least 4.5:1 for normal text.