Midnight Pie
Midnight Pie is a very dark, muted blue-violet color with the hex code #372D52 (hue 256°, saturation 29%, lightness 25%).
- HEX
#372D52 - RGB
rgb(55 45 82) - HSL
hsl(256 29% 25%) - OKLCH
oklch(32.6% 0.065 295)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Pie | #372D52 | 55, 45, 82 | 256°, 29%, 25% | 33, 45, 0, 68 | 32.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.
- HEX
#372D52 - RGB
rgb(55 45 82) - HSL
hsl(256 29% 25%)
Variations of Midnight Pie
Text on Midnight Pie
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
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
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.
- Midnight Pie Complementary Color Scheme#372D52#5A4E8F#47562F#172713#879550
- Midnight Pie Analogous Color Scheme#2F484E#343450#372D52#4E2E53#532D45
- Midnight Pie Triadic Color Scheme#372D52#52352F#2E4E36#60569A#231712
- Midnight Pie Split-complementary Color Scheme#372D52#524B2A#364C2E#111122#807548
- Midnight Pie Tetradic Color Scheme#372D52#522C35#47562F#33534B#60569A
- Midnight Pie Monochromatic Color Scheme#0B0C14#111122#372D52#564985#766CB0
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Midnight Pie (relative luminance 0.021 vs 0.033) and more saturated, with its hue 16° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Midnight Pie (relative luminance 0.066 vs 0.033) and more saturated, with its hue 8° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Midnight Pie (relative luminance 0.068 vs 0.033) and equally saturated, with its hue 76° away. - Indigo (
indigo): Indigo (#4B0082) is about as light as Midnight Pie (relative luminance 0.031 vs 0.033) and more saturated, with its hue 18° away.
Similar dark purple colors
- Acai#48295B
- Blackmail#220066
- Call It a Night#42364C
- Child of the Night#220077
- Dark Dreams#332266
- Drifting Violet#5B4276
- Elegant Purple Gown#552367
- Explorer of the Galaxies#3A1F76
- Extraviolet#661188
- Fabric of Space#341758
- Fading Horizon#442266
- Fuchsia Nebula#7722AA
- Galactic Civilization#442288
- Galactic Compass#48357B
- Galactic Federation#330077
- Galactic Grapevine#6B327B
- Haunted Candelabra#57446A
- Heartless#623B70
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.