Close to Midnight
#12052D
#12052D is a very dark, vivid purple, close to the color Midnight. In RGB it’s made of 7.1% red, 2% green, and 17.6% blue. Its hue is 260°, with 80% saturation and 10% 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 #12052D.
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
19.35:1 AAABlack text on this color
1.09:1 FailThis color as text on white
19.35:1 AAAThis color as text on black
1.09:1 FailHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #12052D as they’d see it.
#12052D 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 #12052D
What color is #12052D?
#12052D is a very dark, vivid purple, close to the color Midnight. In RGB it’s made of 7.1% red, 2% green, and 17.6% blue. Its hue is 260°, with 80% saturation and 10% lightness, so it reads as a cool color. White text sits best on top of it.
What is #12052D in RGB?
#12052D is rgb(18, 5, 45): 18 red, 5 green, and 45 blue on a 0–255 scale.
What is #12052D in CMYK?
Roughly cmyk(60, 89, 0, 82). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #12052D?
PANTONE 276 C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.
What color goes with #12052D?
Its complement #0B1000 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.