About Color Hex #382954

The color Midnight Pie, with hexadecimal code #382954, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Luxury, Royalty, Spirituality, Imagination and Wisdom. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. With a moderate saturation of 34%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. Its low lightness of 25% produces a deep, rich appearance—conveying gravity and luxury, particularly effective in dark-mode designs and premium packaging. This color is ideal for designs that aim to express Luxury, Royalty, Spirituality, Imagination, or Wisdom. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

The RGB values for Midnight Pie are (56, 41, 84), providing a combination of red: 56, green: 41, and blue: 84. In HSL format, it has a hue of 261.00°, saturation of 34.00%, and lightness of 25.00%.

The HSV representation includes a hue of 261.00°, saturation of 51.00%, and value of 33.00%. Its CMYK composition is cyan: 33.00%, magenta: 51.00%, yellow: 0.00%, and black: 67.00%.

The calculated luminance of #382954 is 0.031, offering a brightness level suitable for various design requirements.

This color is not part of the web-safe color palette. The closest web-safe color to this is the color HEX #333366. Its contrast ratio is 1.61:1 against black and 13.02:1 against white. It works well on light backgrounds but may be challenging on darker ones.

In terms of color temperature, #382954 reads as cool. When it comes to accessibility, testing against standard guidelines suggests that using white text meets typical WCAG contrast standards. Additionally, the ideal foreground color for improved legibility on #382954 is white.

Considering its saturation and lightness, #382954 appears more vivid and energetic, making it stand out in designs that aim to capture attention.

History, Usage, Psychology & Design Ideas for #382954

Midnight Pie (#382954) belongs to the Indigo color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Indigo dye—extracted from Indigofera plants—has been used for over 6,000 years, with the oldest known samples found in Peru. It was the foundation of the blue-dye trade across India, West Africa, and the Americas, and its economic importance rivaled that of spices. Levi Strauss chose indigo-dyed denim for the first blue jeans in 1873, cementing indigo's place in everyday fashion worldwide.

Design & Usage Tips

Indigo occupies the territory between blue and purple, lending depth without purple's flamboyance. It is excellent for evening-event branding, high-end fashion, and editorial design. Pair indigo with soft gold or warm white for a sophisticated contrast, or with coral for a contemporary editorial palette.

Sitting on the cool side of the spectrum (hue 261°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 34% saturation, the color has a muted, sophisticated quality that pairs well with bolder accents. It works as a background, a border, or a secondary element in layered compositions.

Psychological Impact

Indigo conveys depth, wisdom, and introspection. It carries the trustworthiness of blue with a hint of purple's creativity, appealing to brands that want to appear both reliable and imaginative—think higher education, think-tanks, and creative consultancies.

Its low lightness of 25% gives it a deep, intense presence. Deep tones like this excel as dark-mode backgrounds, header bars, and anywhere a sense of gravity or luxury is desired.

Creative Design Ideas

Use indigo as a full-page background with centered white text for impactful statement pages. Combine indigo with copper accents for a rich, modern luxury feel in packaging. In web design, indigo sidebar navigation with white icons creates a polished, app-like interface.

#382954 Color Conversions

Every way to write Midnight Pie — copy Midnight Pie as RGB, HSL, HSV, HWB, CMYK, OKLCH, OKLab, CIELAB, LCH, XYZ or a decimal integer. One-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#382954

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(56, 41, 84)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(261, 34%, 25%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(261, 51%, 33%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(261 16% 67%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(33%, 51%, 0%, 67%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(32.02% 0.076 298.10)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(32.02% 0.036 -0.067)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 20.31, a: 17.76, b: -23.76

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 20.31, C: 29.67, H: 306.78

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 4.02, Y: 3.07, Z: 8.77

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
3680596

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

RGB Color Percentages for #382954

RGB Color Percentages for Midnight Pie (HEX Code: #382954) display the relative contribution of Red, Green, and Blue in forming the color. Understanding these percentages provides insight into the color's visual balance and primary components.

This color is primarily dominated by Blue, making up 46.41% of the total composition. The complete breakdown of RGB contributions is:

Red:
30.94%
Green:
22.65%
Blue:
46.41%

This analysis highlights the influence of each primary color, offering a deeper understanding of the visual characteristics of Midnight Pie.

CMYK Ink Levels & Print Guide for #382954

CMYK Ink Levels for Midnight Pie (HEX Code: #382954) provide a breakdown of the percentages of Cyan, Magenta, Yellow, and Black inks needed for accurate print reproduction. The composition of Midnight Pie prominently features Key, reflecting its dominant color characteristic. This information is invaluable for optimizing ink usage and achieving precise color results in printed materials.

The exact CMYK values are: Cyan: 33.33%, Magenta: 51.19%, Yellow: 0%, and Black: 67.06%.

Luminance & Contrast for #382954

Relative luminance gauges how bright Midnight Pie is, while the WCAG contrast ratios show how legible black or white text is on it — and which accessibility levels (AA / AAA) it passes.

Relative luminance 0.031
0 · dark1 · light
Aa
Black text 1.61:1
AA AAA Large
Aa
White text 13.02:1
AA AAA Large

Quick CSS Snippets for #382954

Copy-and-paste CSS for Midnight Pie — backgrounds, text, borders and a custom property. Each line is ready to drop into your stylesheet.

Background background-color: #382954;
Text color: #382954;
Border border: 2px solid #382954;
RGB background-color: rgb(56, 41, 84);
HSL background-color: hsl(261, 34%, 25%);
Variable --color: #382954;

#382954 Monochrome Palette

The Monochrome Palette consists of shades created by adjusting the brightness. These include lighter, original, and darker shades of the color. This layout helps to visualize the color's range and its potential use in design.

#ebeaee
#cdcad4
#afa9bb
#9289a1
#746987
#56496e
#382954 Original
#302347
#271d3b
#1f172e
#161022
#0e0a15
#060408

#382954 Complementary Palette

The Complementary Palette is made up of two colors that sit opposite each other on the color wheel. These colors create high contrast and vibrant designs, making them perfect for attention-grabbing elements and dynamic visuals.

#382954 Original
#46552a

#382954 Analogic Palette

The Analogic Palette consists of colors that are next to each other on the color wheel. These colors typically create harmonious and subtle designs, often used to evoke calmness and unity in your visual projects.

#382954 Original
#4f2a55
#2a3155
#552a46
#2a4655
#552a31
#2a554f

#382954 Triadic Palette

The Triadic Palette is made up of three colors evenly spaced on the color wheel. This combination provides a vibrant and balanced color scheme, often used for dynamic and energetic designs while maintaining harmony.

#382954 Original
#55392a
#2a5539

#382954 Quad Palette

The Quad Palette, also known as tetradic, consists of four colors evenly spaced on the color wheel. This combination offers a diverse and bold color scheme, ideal for creating rich, complex designs with multiple accents while still maintaining balance.

#382954 Original
#552a31
#46552a
#2a554f

Color Blindness Simulation for #382954

Colors are perceived differently by individuals with various forms of color blindness. Use the dropdown below to see how this color may look through the eyes of someone with color vision deficiency. Explore how Midnight Pie (#382954) might appear to people with different visual experiences, and gain deeper insights into color accessibility for your designs!

Each color box displays a "Friendly" or "Not Friendly" tag in the bottom-right corner. A "Friendly" tag indicates that the color difference is distinguishable to individuals with the specific type of color blindness. Conversely, a "Not Friendly" tag means that the color difference might not be distinguishable, potentially causing accessibility issues in your design.

Normal Vision

Deuteranopia (Green Weakness)

Friendly

Protanopia (Red Weakness)

Friendly

Tritanopia (Blue-Yellow Weakness)

Friendly

Achromatopsia (Total Color Blindness)

Friendly

Color Harmonies for #382954

Color harmonies refer to the visually pleasing combinations of colors that are derived from specific relationships on the color wheel. These harmonious schemes, such as complementary, triadic, and analogous colors, create a balanced and engaging visual experience in design.

Complementary

Analogous

Triadic

Tetradic (Quad)

#382954 Nearby Colors

A handful of colors just a step away from #382954 — each one nudges the brightness, richness, or shade a little while still feeling like the same color. Use the buttons on any swatch to copy its hex or open its full color page.

#443366 Meteorite
#222244 Black Market
#554477 In the Vines
#221133 Midnight Monarch
#332266 Dark Dreams
#333344 Shuriken
#442255 Wonka Purple
#333355 Midnight Escapade

Colors Similar to #382954

These colors are close neighbours of #382954 in the RGB color space. Each subtle variation can produce a noticeably different mood in your design while remaining harmonious with the original Blue tone.

#392954 Stormy Night
#382a54 Midnight Pie
#382955 Stormy Night
#372954 Midnight Pie
#382854 Stormy Night
#382953 Midnight Pie
#492954 Wonka Purple
#383a54 Mediaeval Blue
#382965 Dark Dreams
#272954 Deep Sea Base
#381854 Fabric of Space
#382943 Sanctum of Shadows

Looking for more Blue shades? Browse Blue colors →

Explore Vibrant Images Featuring Midnight Pie (#382954)

Discover a vibrant gallery of images that not only showcase the captivating hue of Midnight Pie, but also embody its unique mood and personality. Each carefully curated photo is selected to highlight the richness and diversity of this color, offering inspiration for design, art, and creative projects.