Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Midnight Purple (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #4B0150
- RGB
- rgb(75, 1, 80)
- HSL
- hsl(296, 98%, 16%)
- OKLCH
- oklch(0.294 0.136 325)
- CMYK
- cmyk(6%, 99%, 0%, 69%)
--color-midnight-purplebg-[#4B0150]Accessibility
Score: 96/100On White (#FFF)
14.8:1
On Black (#000)
1.42:1
On Light Gray (#F5F5F5)
13.57:1
Best text color on this background:
Design Applications
background-color: #4B0150
color: #4B0150
bg-[#4B0150] text-[#FFFFFF]
border-left: 4px solid #4B0150
Color Harmonies
Complementary
India Green
#138808
Split-Complementary
Similar Colors
Color Meaning & Psychology
Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. Its very dark, near-black depth creates dramatic intensity — maximally contrastive, powerful, and reserved for focal design elements where other dark colors would disappear.
Industry Usage
Common contexts and industries where Midnight Purple is applied in professional design.
- Luxury beauty and cosmetics brands
- Premium consumer products and packaging
- Spiritual, wellness, and meditation apps
- Creative agencies and design studios
- Entertainment and gaming (magic, fantasy)
- Anti-aging and prestige skincare
- Confectionery and indulgence brands
- Academic institutions emphasizing wisdom
Accessibility Considerations
Normal Text
Passes AA
4.5:1 minimum required
Large Text
Passes AA Large
3:1 minimum required
UI Components
Meets 1.4.11
3:1 for non-text UI
Midnight Purple is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (14.80:1). Avoid small black text on this background.
CSS & Code Examples
Background
background-color: #4B0150;Text
color: #4B0150;Border
border: 2px solid #4B0150;Box Shadow
box-shadow: 0 4px 20px #4B015040;Gradient
background: linear-gradient(135deg, #4B0150, #79347d);Tailwind-style
--color-midnight-purple: #4B0150;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Midnight Purple without a custom config.
Background
bg-[#4B0150]Text
text-[#4B0150]Border
border-[#4B0150]Ring
ring-[#4B0150]Fill
fill-[#4B0150]From (gradient)
from-[#4B0150]Via (gradient)
via-[#4B0150]To (gradient)
to-[#4B0150]Design Tokens
Ready-to-use Midnight Purple design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-midnight-purple: #4B0150;
--color-midnight-purple-rgb: 75, 1, 80;
--color-midnight-purple-hsl: 296, 98%, 16%;
}SCSS Variables
$color-midnight-purple: #4B0150; $color-midnight-purple-rgb: 75, 1, 80; $color-midnight-purple-hsl: 296, 98%, 16%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'midnight-purple': '#4B0150',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-midnight-purple: #4B0150;
}JSON Design Token (W3C format)
{
"midnight-purple": {
"value": "#4B0150",
"type": "color",
"description": "Midnight Purple — #4B0150"
}
}More purple colors
View all →What Does Midnight Purple Mean? Color Psychology & Cultural Symbolism
Few colors carry the semantic density of purple. At #4B0150, Midnight Purple compresses luxury, creativity, and mystery into a single dark tone—a quality that has made the purple family the default language of premium, imaginative, and unconventional brands.
- Purple's historical scarcity (Tyrian purple was worth more than gold) embedded it permanently in the Western imagination as a royal, noble, and exclusive color. In contemporary design it bridges luxury (its historic connotation) and creativity (its association with the imagination and alternative thinking).
- In Japan, purple (murasaki) has been associated with nobility and spiritual power for centuries, and the tradition continues in contemporary culture. In Thai mourning traditions, purple is worn by widows—one of the few cultures where it carries grief rather than luxury associations.
- Midnight Purple's dark lightness (16%) shifts its psychological register: Deep violet and plum tones carry maximal luxury and mystery—positioned at the intersection of black's power and purple's creativity, excellent for premium and high-fashion applications.
- At 98% saturation, Midnight Purple reads as vivid—Vivid purples—electric violet, magenta-leaning—signal digital creativity, gaming culture, and technological imagination; they are the purples of sci-fi, crypto, and creative tools.
Midnight Purple is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.
How to Use Midnight Purple in Design: Applications, Pairings & Best Practices
Midnight Purple rewards bold usage. Timid deployment—a small accent in an otherwise neutral palette—undersells its power. Used with commitment, it creates the kind of brand distinction that no other hue achieves.
- UI components: premium feature highlights, creative mode indicators, luxury tier badges—Midnight Purple performs reliably in all these roles with its dark tonal character.
- Brand & identity: premium branding, creative agency identities, beauty packaging—contexts where Midnight Purple's vivid quality creates the right register.
- Typography: Midnight Purple works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
- As a dark tone, Midnight Purple creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
- Proportional use: Midnight Purple's vivid saturation (98%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
Midnight Purple is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.
Midnight Purple Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Midnight Purple (#4B0150) achieves a 14.80:1 contrast ratio with white text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 2.1%.
- As text on white (#FFFFFF): 14.80:1 — AAA ✓
- As text on black (#000000): 1.42:1 — Fail
- Best text color on Midnight Purple background: White (#FFFFFF) at 14.80:1
- WCAG 2.1 luminance: 2.1% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
- Midnight Purple qualifies for all text sizes including small body copy (AAA).
- Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.
Always verify Midnight Purple at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.
Midnight Purple in Industry: Branding, Design & Market Applications
Across industry research, purple-family tones consistently outperform competitors in categories built on luxury, creativity, mystery, and wisdom. Midnight Purple is a dark expression of this advantage—best positioned in Beauty & Cosmetics and adjacent markets.
- Beauty & Cosmetics: Purple is the second most common color in beauty branding, projecting luxury, femininity, and transformative aspiration. It signals that a product is special, premium, and designed for moments of indulgence. (examples: Drunk Elephant, Tatcha, Rare Beauty) Lavender tones work for accessible beauty; deep violet and plum for luxury skincare and perfume.
- Creative & Agency Services: Creative studios, design agencies, and advertising firms use purple to signal imagination, unconventional thinking, and creative authority. It differentiates them from the blue-dominated corporate world while retaining enough gravitas to command respect. Works best when paired with a strong neutral (black, charcoal, or cream) to prevent it from reading as whimsical.
- Gaming & Entertainment: Purple dominates gaming, streaming, and digital entertainment branding because it signals the threshold between the ordinary world and an imaginative one. It's the color of portals, magic systems, and premium digital experiences. (examples: Disney+, Hulu, Netflix) Twitch's purple brand has made the color synonymous with live streaming culture—worth considering in adjacent spaces.
- Brand positioning: Midnight Purple is best suited for brands projecting distinction, wisdom, imagination. Categories outside this positioning—mainstream corporate environments where it reads as unconventional—tend to see weaker results.
- Adjacent applications: Beyond primary industries, Midnight Purple works effectively in cryptocurrency projects, gaming UIs, spiritual and wellness platforms—contexts where luxury serves a secondary but reinforcing role.
Midnight Purple earns its strongest ROI in industries where trust and recognition compound over time: Beauty & Cosmetics, Creative & Agency Services, Gaming & Entertainment. Use it to build the kind of brand recognition that decades reinforce.
Accessibility & Design Guides
Frequently Asked Questions
- What is the hex code for Midnight Purple? ▾
- The hex code for Midnight Purple is #4B0150. Its RGB values are rgb(75, 1, 80) and its HSL values are hsl(296, 98%, 16%).
- What does Midnight Purple mean in design? ▾
- Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. Its very dark, near-black depth creates dramatic intensity — maximally contrastive, powerful, and reserved for focal design elements where other dark colors would disappear.
- Is Midnight Purple WCAG accessible? ▾
- Midnight Purple (#4B0150) passes WCAG AAA on white with a 14.8:1 contrast ratio. Its overall accessibility score is 96/100.
- What colors go well with Midnight Purple? ▾
- Midnight Purple pairs well with its complementary color India Green (#138808). Analogous colors like Royal Purple and Wisteria also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Midnight Purple used for? ▾
- Midnight Purple is commonly used for: Luxury beauty and cosmetics brands; Premium consumer products and packaging; Spiritual, wellness, and meditation apps; Creative agencies and design studios; Entertainment and gaming (magic, fantasy).
- What are the CSS and Tailwind values for Midnight Purple? ▾
- In CSS, use `color: #4B0150` or `background-color: #4B0150`. The CSS custom property is `--color-midnight-purple: #4B0150`. In Tailwind CSS, use the arbitrary value class `bg-[#4B0150]` for backgrounds or `text-[#4B0150]` for text.