Huebook

Midnight Pie

Midnight Pie is a very dark, muted blue-violet color with the hex code #372D52 (hue 256°, saturation 29%, lightness 25%).

#372D52
NameHEXRGBHSLCMYKOKLCH
Midnight Pie#372D5255, 45, 82256°, 29%, 25%33, 45, 0, 6832.6% 0.065 295

Contrast with white text 12.65:1, with black text 1.66:1 — use white text on Midnight Pie.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Midnight Pie

Move the sliders to make Midnight Pie lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Midnight Pie
  • HEX#372D52
  • RGBrgb(55 45 82)
  • HSLhsl(256 29% 25%)

Variations of Midnight Pie

Text on Midnight Pie

White textThe quick brown fox12.65:1 · AA pass · AAA pass
Black textThe quick brown fox1.66:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Midnight Pie with color blindness

Normal #372D52
Protanopia #223353
Deuteranopia #243251
Tritanopia #31343B

How Midnight Pie appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#E2DEED
#B7ADD2
#8B7BB7
#635194
#423663
#211B31

Colors that go with Midnight Pie

Six color schemes built on Midnight Pie with classic harmony rules. The complementary scheme pairs it with Trefoil (#47562F), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark purple colors

Questions

What is the hex code for Midnight Pie?

#372D52 — RGB 55, 45, 82, HSL 256°, 29%, 25%.

Is Midnight Pie a warm or cool color?

Cool — its hue sits at 256° on the color wheel.