Close to Midnight

#20122C

#20122C is a very dark, muted purple, close to the color Midnight. In RGB it’s made of 12.5% red, 7.1% green, and 17.3% blue. Its hue is 272°, with 42% saturation and 12% lightness, so it reads as a cool color. White text sits best on top of it.

Make a palette Open in converter

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 #20122C.

Contrast & readability

WCAG contrast ratios for text. 4.5:1 is the minimum for body text, 3:1 for large text.

Aa

White text on this color

17.73:1 AAA
Aa

Black text on this color

1.18:1 Fail
Aa

This color as text on white

17.73:1 AAA
Aa

This color as text on black

1.18:1 Fail

How it looks with color blindness

About 1 in 12 men and 1 in 200 women see color differently. Here’s #20122C as they’d see it.

Typical vision#20122C
ProtanopiaNo red cones (about 1% of men)
DeuteranopiaNo green cones (the most common, about 1% of men)
TritanopiaNo blue cones (rare)
AchromatopsiaNo color vision (very rare)

#20122C in use

New

A headline in this color

Body text stays dark for reading; the color carries buttons, links, and accents.

Primary buttonText link →

On a dark background

Get started
Gradient to its complement

Similar colors

Brands with a similar color

Brand names identify the brands only; no affiliation. Test yourself in Brand Colors.

Questions about #20122C

What color is #20122C?

#20122C is a very dark, muted purple, close to the color Midnight. In RGB it’s made of 12.5% red, 7.1% green, and 17.3% blue. Its hue is 272°, with 42% saturation and 12% lightness, so it reads as a cool color. White text sits best on top of it.

What is #20122C in RGB?

#20122C is rgb(32, 18, 44): 32 red, 18 green, and 44 blue on a 0–255 scale.

What is #20122C in CMYK?

Roughly cmyk(27, 59, 0, 83). Print results depend on paper and press, so proof it before a big print run.

What Pantone is closest to #20122C?

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 #20122C?

Its complement #101C00 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.

Browse all named colors