#5A2E7A
#8E4EA8
#D8B860
#2E1440
Background
Primary Accent
Secondary
Body Text

Maharaja Purple Color Palette

#5A2E7A · #8E4EA8 · #D8B860 · #2E1440

Fail
WCAG Grade
1.6:1
Contrast Ratio
911
Saves
3,307
AI Copies
AI Prompt

Use #5A2E7A as the background. Use #8E4EA8 as the primary accent. Use #D8B860 as secondary. Use #2E1440 as body text/supporting color. Palette mood: Maharaja Purple — royal, vintage, night, moody.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Maharaja Purple color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 5.5%
90, 46, 122 26%, 62%, 0%, 52% 275°, 45%, 33%
Primary Accent
Luminance: 14.0%
142, 78, 168 15%, 54%, 0%, 34% 283°, 37%, 48%
Secondary
Luminance: 49.7%
216, 184, 96 0%, 15%, 56%, 15% 44°, 61%, 61%
Body Text
Luminance: 1.5%
46, 20, 64 28%, 69%, 0%, 75% 275°, 52%, 16%

Maharaja Purple Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Maharaja Purple palette — click any swatch to copy its hex.

#5A2E7A gently saturated violet
#8E4EA8 gently saturated violet
#D8B860 gently saturated orange
#2E1440 gently saturated violet

Maharaja Purple Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#2E1440 on #D8B860
Aa Sample Text
8.48:1 AAA Body text, headings, UI
#D8B860 on #2E1440
Aa Sample Text
8.48:1 AAA Body text, headings, UI
#D8B860 on #5A2E7A
Aa Sample Text
5.20:1 AA Body text, UI
#5A2E7A on #D8B860
Aa Sample Text
5.20:1 AA Body text, UI
#2E1440 on #8E4EA8
Aa Sample Text
2.95:1 Fail Decorative use only
#8E4EA8 on #2E1440
Aa Sample Text
2.95:1 Fail Decorative use only
#D8B860 on #8E4EA8
Aa Sample Text
2.88:1 Fail Decorative use only
#8E4EA8 on #D8B860
Aa Sample Text
2.88:1 Fail Decorative use only
#8E4EA8 on #5A2E7A
Aa Sample Text
1.81:1 Fail Decorative use only
#5A2E7A on #8E4EA8
Aa Sample Text
1.81:1 Fail Decorative use only
#2E1440 on #5A2E7A
Aa Sample Text
1.63:1 Fail Decorative use only
#5A2E7A on #2E1440
Aa Sample Text
1.63:1 Fail Decorative use only

Maharaja Purple Color Psychology & Meaning

The courts of the Indian maharajas used violet, gold and deep jewel colour in textiles, turbans and the lacquer of palace furniture, and this palette is maharaja violet with gold trim. It feels opulent and warm, the color of colour layered on colour.

Color Harmony: Triadic Scheme

The Maharaja Purple palette is built using a triadic relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A triadic palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

Royal courts across India developed distinct craft traditions in dyeing and textile, and the turban's colour could signal rank, occasion and clan, making the wardrobe a form of heraldry.

Best Design Use Cases

Use the maharaja violet for page backgrounds, royal orchid for calls to action, gold trim for card accents, and court night for text.

Industries This Palette Suits

Luxury goods, jewellery, private banking, premium spirits.

Colors That Pair Well With Maharaja Purple

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

green

directly opposite #8E4EA8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

magenta

30° beside #8E4EA8 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Maharaja Purple Without Breaking Accessibility

  • Avoid #8E4EA8 for small UI elements on #5A2E7A — at 1.8:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #2E1440 on #5A2E7A — 1.6:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #D8B860 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Maharaja Purple Color Scheme

To use this Maharaja Purple color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #5A2E7A for the main background and #8E4EA8 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #2E1440 and #5A2E7A is 1.63:1 (Fail). Ensure your body text remains legible.

Maharaja Purple Palette — Frequently Asked Questions

What are the hex codes in the Maharaja Purple color palette?

The Maharaja Purple palette contains #5A2E7A, #8E4EA8, #D8B860, #2E1440. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Maharaja Purple color palette accessible (WCAG)?

Yes for its strongest pairings: #2E1440 on #D8B860 reaches 8.5:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the Maharaja Purple palette?

Beyond its own four colors, #67A84D, #9B598D, #EDEBEF extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Maharaja Purple palette create?

Maharaja Purple reads as royal, vintage, night. Gently saturated violet drives the personality, grounded by gently saturated violet — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Maharaja Purple color palette commercially?

Yes. Individual color values can't be copyrighted, so the Maharaja Purple palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Maharaja Purple palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Maharaja Purple's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content