Close to Midnight
#271A2E
#271A2E is a very dark, muted purple, close to the color Midnight. In RGB it’s made of 15.3% red, 10.2% green, and 18% blue. Its hue is 279°, with 28% saturation and 14% lightness, so it reads as a cool color. White text sits best on top of it.
Color codes
Tints, shades & tones
Tints add white, shades add black, tones add gray. Tap any one to open its page.
Tints
Shades
Tones
Color harmonies
Combinations from the color wheel, built around #271A2E.
Split complementary
The two neighbors of the complement: contrast that’s easier to balance.
Open in the palette creator →Tetradic
Two complementary pairs: rich, best with one color in charge.
Open in the palette creator →Contrast & readability
WCAG contrast ratios for text. 4.5:1 is the minimum for body text, 3:1 for large text.
White text on this color
16.49:1 AAABlack text on this color
1.27:1 FailThis color as text on white
16.49:1 AAAThis color as text on black
1.27:1 FailHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #271A2E as they’d see it.
#271A2E in use
A headline in this color
Body text stays dark for reading; the color carries buttons, links, and accents.
On a dark background
Get startedSimilar colors
Questions about #271A2E
What color is #271A2E?
#271A2E is a very dark, muted purple, close to the color Midnight. In RGB it’s made of 15.3% red, 10.2% green, and 18% blue. Its hue is 279°, with 28% saturation and 14% lightness, so it reads as a cool color. White text sits best on top of it.
What is #271A2E in RGB?
#271A2E is rgb(39, 26, 46): 39 red, 26 green, and 46 blue on a 0–255 scale.
What is #271A2E in CMYK?
Roughly cmyk(15, 43, 0, 82). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #271A2E?
PANTONE 7547 C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.
What color goes with #271A2E?
Its complement #16220D gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.