#272230 color
The hex color #272230 is a very dark, grayish violet.
In the RGB color model it is made of 15.3% red, 13.3% green and 18.8% blue (39, 34, 48).
Its hue angle is 261°, with 17% saturation and 16% lightness. For print, the CMYK equivalent is 19% cyan, 29% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.47:1).
#272230 color codes
| HEX | #272230 | |
|---|---|---|
| RGB | rgb(39, 34, 48) | |
| RGB percent | rgb(15.3%, 13.3%, 18.8%) | |
| HSL | hsl(261, 17%, 16%) | |
| HSV / HSB | hsv(261, 29%, 19%) | |
| CMYK | cmyk(19%, 29%, 0%, 81%) | |
| CIE LAB | lab(14.34, 5.93, -8.36) | |
| CIE LCH | lch(14.34, 10.25, 305.35) | |
| CIE XYZ | xyz(1.942, 1.789, 3.039) | |
| Decimal | 2564656 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272230, 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 #272230 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.47:1 | Pass | Pass | Pass |
| #272230 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.47:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #272230 looks to people with the most common types of color vision deficiency.
#1f2431Protanopia
no red cones#202430Deuteranopia
no green cones#262427Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #272230; }
.text { color: #272230; }
.border { border: 2px solid #272230; }
.transparent { background-color: rgb(39 34 48 / 50%); }
.gradient { background: linear-gradient(to right, #272230, #2e2230); }
Similar colors
#222233Black Velvet#2c2a35Haiti#1f2133Eclipse Elixir#342931Melanzane#21263aMidnight Express#1a161dViolet Void#201b20Night Demons#27252aDarth Vader
Closest common color name: Dark Purple.
Questions
- What color is #272230?
- #272230 is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #272230?
- The RGB value is 39, 34, 48: 39 red, 34 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #272230?
- The complementary color is #2B3022, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272230?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.47:1. WCAG asks for at least 4.5:1 for normal text.