About Color Hex #331a40

The color Dark Prom Queen, with hexadecimal code #331a40, lands in the purple family, historically reserved for royalty due to the extreme cost of Tyrian dye. Purple activates imagination and spiritual contemplation, blending red's passion with blue's serenity. Additionally, it evokes emotions such as Luxury, Royalty, Spirituality, Imagination and Wisdom. Purple is often linked to creativity, luxury, and spirituality. In Western cultures, it is also associated with ambition and wealth. Indigo and violet have long signified royalty and nobility. With a moderate saturation of 42%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. At only 18% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. 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 Dark Prom Queen are (51, 26, 64), providing a combination of red: 51, green: 26, and blue: 64. In HSL format, it has a hue of 279.00°, saturation of 42.00%, and lightness of 18.00%.

The HSV representation includes a hue of 279.00°, saturation of 59.00%, and value of 25.00%. Its CMYK composition is cyan: 20.00%, magenta: 59.00%, yellow: 0.00%, and black: 75.00%.

The calculated luminance of #331a40 is 0.018, 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 #333333. Its contrast ratio is 1.36:1 against black and 15.41:1 against white. It works well on light backgrounds but may be challenging on darker ones.

In terms of color temperature, #331a40 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 #331a40 is white.

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

History, Usage, Psychology & Design Ideas for #331A40

Dark Prom Queen (#331A40) belongs to the Purple 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

Tyrian purple—derived from the mucus of Murex sea snails—required 12,000 snails to produce just 1.5 grams of dye, making it the most expensive substance in the ancient world. Roman emperors decreed it exclusive to royalty, and Byzantine empresses gave birth in a porphyry-lined chamber so children could be 'born in the purple.' This legacy of exclusivity persists: purple remains shorthand for luxury and prestige.

Design & Usage Tips

Purple excels in beauty, wellness, and premium lifestyle branding. Lighter purples (lavender, lilac) suit self-care and floral products, while saturated purples project confidence and creativity. Pair purple with mint green for a fresh contrast, or with charcoal for understated elegance.

Sitting on the cool side of the spectrum (hue 279°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 42% 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

Purple activates imagination and spiritual contemplation. It blends red's passion with blue's calm, creating a sense of creative tension. In marketing, purple appeals to audiences seeking uniqueness, quality, and a touch of the mystical.

Its low lightness of 18% 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 deep purple backgrounds with metallic gold or rose-gold typography for luxury brand identities. Create purple-to-pink gradients for creative agency hero sections. In app design, purple primary buttons with white text feel premium and distinctive against light backgrounds.

#331A40 Color Conversions

Every way to write Dark Prom Queen — copy Dark Prom Queen 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
#331A40

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(51, 26, 64)

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(279, 42%, 18%)

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(279, 59%, 25%)

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(279 10% 75%)

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(20%, 59%, 0%, 75%)

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(27.12% 0.074 312.85)

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

OKLab Modern
oklab(27.12% 0.050 -0.054)

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: 14.47, a: 20.46, b: -19.37

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

LCH Perceptual
L: 14.47, C: 28.17, H: 316.57

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

XYZ CIE Science
X: 2.66, Y: 1.81, Z: 5.06

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
3349056

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

RGB Color Percentages for #331a40

RGB Color Percentages for Dark Prom Queen (HEX Code: #331a40) 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 45.39% of the total composition. The complete breakdown of RGB contributions is:

Red:
36.17%
Green:
18.44%
Blue:
45.39%

This analysis highlights the influence of each primary color, offering a deeper understanding of the visual characteristics of Dark Prom Queen.

CMYK Ink Levels & Print Guide for #331a40

CMYK Ink Levels for Dark Prom Queen (HEX Code: #331a40) provide a breakdown of the percentages of Cyan, Magenta, Yellow, and Black inks needed for accurate print reproduction. The composition of Dark Prom Queen 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: 20.31%, Magenta: 59.38%, Yellow: 0%, and Black: 74.9%.

Luminance & Contrast for #331A40

Relative luminance gauges how bright Dark Prom Queen 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.018
0 · dark1 · light
Aa
Black text 1.36:1
AA AAA Large
Aa
White text 15.41:1
AA AAA Large

Quick CSS Snippets for #331A40

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

Background background-color: #331A40;
Text color: #331A40;
Border border: 2px solid #331A40;
RGB background-color: rgb(51, 26, 64);
HSL background-color: hsl(279, 42%, 18%);
Variable --color: #331A40;

#331a40 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.

#ebe8ec
#ccc6cf
#ada3b3
#8f8196
#705f79
#523c5d
#331a40 Original
#2b1636
#24122d
#1c0e23
#140a1a
#0d0710
#050306

#331a40 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.

#331a40 Original
#28411b

#331a40 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.

#331a40 Original
#411b3b
#201b41
#411b28
#1b2841
#41201b
#1b3b41

#331a40 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.

#331a40 Original
#41341b
#1b4134

#331a40 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.

#331a40 Original
#41201b
#28411b
#1b3b41

Color Blindness Simulation for #331a40

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 Dark Prom Queen (#331a40) 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 #331a40

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)

#331A40 Nearby Colors

A handful of colors just a step away from #331A40 — 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.

#442255 Wonka Purple
#221133 Midnight Monarch
#553355 Purple Prose
#220022 Black Sabbath
#331144 Dark Purple
#332233 Voodoo
#331133 Dark Prom Queen
#222244 Black Market

Colors Similar to #331a40

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

#341a40 Dark Prom Queen
#331b40 Dark Prom Queen
#331a41 Dark Prom Queen
#321a40 Dark Prom Queen
#331940 Dark Prom Queen
#331a3f Dark Prom Queen
#441a40 Purple Void
#332b40 Royal Decree
#331a51 Fabric of Space
#221a40 Azulado
#330940 Dark Purple
#331a2f Nightly Voyager

Looking for more Purple shades? Browse Purple colors →

Explore Vibrant Images Featuring Dark Prom Queen (#331a40)

Discover a vibrant gallery of images that not only showcase the captivating hue of Dark Prom Queen, 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.