Close to Midnight Blue
#42257C
#42257C is a dark, rich purple, close to the color Midnight Blue. In RGB it’s made of 25.9% red, 14.5% green, and 48.6% blue. Its hue is 260°, with 54% saturation and 32% 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 #42257C.
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
11.75:1 AAABlack text on this color
1.79:1 FailThis color as text on white
11.75:1 AAAThis color as text on black
1.79:1 FailHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #42257C as they’d see it.
#42257C 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
Brands with a similar color
Brand names identify the brands only; no affiliation. Test yourself in Brand Colors.
Questions about #42257C
What color is #42257C?
#42257C is a dark, rich purple, close to the color Midnight Blue. In RGB it’s made of 25.9% red, 14.5% green, and 48.6% blue. Its hue is 260°, with 54% saturation and 32% lightness, so it reads as a cool color. White text sits best on top of it.
What is #42257C in RGB?
#42257C is rgb(66, 37, 124): 66 red, 37 green, and 124 blue on a 0–255 scale.
What is #42257C in CMYK?
Roughly cmyk(47, 70, 0, 51). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #42257C?
PANTONE 273 C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.
What color goes with #42257C?
Its complement #293E00 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.