#27223C color
The hex color #27223C is a very dark, desaturated violet.
In the RGB color model it is made of 15.3% red, 13.3% green and 23.5% blue (39, 34, 60).
Its hue angle is 252°, with 28% saturation and 18% lightness. For print, the CMYK equivalent is 35% cyan, 43% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.21:1).
#27223C color codes
| HEX | #27223C | |
|---|---|---|
| RGB | rgb(39, 34, 60) | |
| RGB percent | rgb(15.3%, 13.3%, 23.5%) | |
| HSL | hsl(252, 28%, 18%) | |
| HSV / HSB | hsv(252, 43%, 24%) | |
| CMYK | cmyk(35%, 43%, 0%, 76%) | |
| CIE LAB | lab(14.96, 9.56, -15.89) | |
| CIE LCH | lch(14.96, 18.54, 301.03) | |
| CIE XYZ | xyz(2.224, 1.902, 4.524) | |
| Decimal | 2564668 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27223C, 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 #27223C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.21:1 | Pass | Pass | Pass |
| #27223C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.21: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 #27223C looks to people with the most common types of color vision deficiency.
#1b263dProtanopia
no red cones#1b253bDeuteranopia
no green cones#22272cTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #27223c; }
.text { color: #27223c; }
.border { border: 2px solid #27223c; }
.transparent { background-color: rgb(39 34 60 / 50%); }
.gradient { background: linear-gradient(to right, #27223c, #34223c); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#2c2e47Midnight Masquerade#161d3bNightwalker#151931Dark Knight#222233Black Velvet#1f2133Eclipse Elixir#372d52Midnight Pie
Closest common color name: Dark Purple.
Questions
- What color is #27223C?
- #27223C is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #27223C?
- The RGB value is 39, 34, 60: 39 red, 34 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #27223C?
- The complementary color is #373C22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27223C?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.21:1. WCAG asks for at least 4.5:1 for normal text.