On this page
The strip above lets you copy each code and test text on the preview. Below you will find the full values, the history behind each shade, tested contrast ratios and palettes you can use straight away.
What Makes a Color Royal?
Royal colors are the ones that crowns, robes, banners and coats of arms taught us to read as authority. They are deep or saturated, they point to expensive materials such as rare dyes, silk and gilding, and they hold up well against each other.
A reliable royal palette follows a simple recipe: two cool, dark anchors (purple and blue), one warm metal (gold), one deep red and one soft neutral. Remove the neutral and the set gets heavy. Remove the gold and it loses its sparkle.
Royal Purple: The Dye Only Rulers Could Afford
Real Tyrian purple was extracted from sea snails, and it took a huge number of them to dye even a small amount of cloth. Roman and Byzantine courts guarded it, and Tudor England restricted purple cloth through sumptuary laws. Tyrian purple is usually shown as a reddish . Royal purple is a tone of purple that is bluer than the ancient Tyrian purple. Crayola formulated it as a crayon color in 1990.
The shade on this page, , is RGB 120, 81, 169 or hsl(267, 35%, 49%). That moderate saturation matters: it reads as dignified, not neon. Neighbors behave differently. Indigo is darker and more intense, amethyst is lighter and sweeter, mulberry leans redder and wine-like, and orchid purple tilts pink.
Royal Blue: Bright Web Blue vs Deep Flag Blue
“Royal blue” means two different things. Traditionally it is a deep blue used on several national flags, but the web color named royal blue is much brighter. The web version is , RGB 65, 105, 225 or hsl(225, 73%, 57%), and it is the CSS keyword royalblue. The traditional version sits near , almost a navy.
Which hex code is the CSS keyword royalblue?
The web color royalblue is #4169E1, while #012169 is the much darker traditional royal blue.
You will also meet related names. Imperial blue is an alternative name for the traditional shade, and queen blue (about ) is a calmer, medium tone. If you need something even darker and more atmospheric for backgrounds, the night sky palette collects deep blues that pair well with gold stars and highlights.
Gold, Crimson and Ivory: The Supporting Cast
Web gold is a clean, bright yellow. On a screen it looks flat, because real gold gets its look from reflection. If you want a more believable metal, use a deeper tone such as or , and keep for small, punchy accents.
Use gold for borders, icons, dividers and large display type. For body copy on a dark royal background, ivory is safer and easier to read.

Crimson (RGB 176, 16, 48) is a deep red with a slight blue lean, which is why it sits comfortably beside purple. A burgundy like goes darker still. Ivory replaces pure white, and that small shift toward warm cream keeps a dark palette from feeling clinical.
Royal Color Codes in HEX, RGB, HSL and CMYK
All five core colors in the formats designers ask for most. RGB and HSL are exact conversions of each hex code. The CMYK values are straight mathematical conversions, which are a starting point for print, not a final recipe.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| Royal Purple | 120, 81, 169 | 267°, 35%, 49% | 29, 52, 0, 34 | |
| Royal Blue | 65, 105, 225 | 225°, 73%, 57% | 71, 53, 0, 12 | |
| Gold | 255, 215, 0 | 51°, 100%, 50% | 0, 16, 100, 0 | |
| Crimson | 176, 16, 48 | 348°, 83%, 38% | 0, 91, 73, 31 | |
| Ivory | 255, 255, 240 | 60°, 100%, 97% | 0, 0, 6, 0 |
HSL is the handiest format for building variations. Keep the hue and drop the lightness of royal purple to about 25% for a hover state, or raise it above 90% for a pale lavender background.
Royal Color Combinations and Ready-to-Use Palettes
Start with proportions. Let one of the two deep colors lead (roughly 60% of the layout), give ivory about 30%, and share the remaining 10% between gold and crimson. If the layout feels crowded, drop crimson first.
The core set for logos, invitations and hero sections with strong presence.
Dark mode interfaces and evening event branding with a quiet gold accent.
Sports kits, school crests and formal stationery built on flag blue.
Interiors, wedding styling and fashion boards with a rich, warm mood.
Pairings behave differently. Purple with gold feels ceremonial, and sports fans know it well from the Los Angeles Lakers colors. Blue with gold feels academic and trustworthy. Crimson with royal blue is louder and more patriotic, and the red and blue palette page shows how to balance it. The four palettes below turn those moods into five-color sets.
Are Royal Colors Accessible? Contrast Ratios Checked
I computed these ratios from the WCAG relative luminance formula, rounded to one decimal. WCAG AA asks for 4.5:1 for normal text and 3:1 for large text.
- Ivory on royal purple: about 5.9:1 (passes AA)
- Ivory on royal blue: about 4.8:1 (passes AA, narrowly)
- Ivory on crimson: about 7.0:1 (passes AA, close to AAA)
- Gold on crimson: about 5.1:1 (passes AA)
- Gold on royal purple: about 4.2:1 (large text only)
- Gold on royal blue: about 3.5:1 (large text only)
- Gold on ivory: about 1.4:1 (fails)
On a client app, we first set small gold labels on a purple header, and they looked elegant but tested at 4.2:1. Switching the labels to ivory and keeping gold for the underline fixed it without changing the mood. For more ideas on strong pairings, see these high contrast color palettes.
Which text and background pairing passes WCAG AA for normal body text?
Ivory on royal purple lands around 5.9:1, while gold on purple is about 4.2:1 and gold on ivory only about 1.4:1.
Using Royal Colors in Web and UI Design
Give each color a job. Royal purple works as the primary brand color, royal blue as the interactive color for links and focus rings, gold as a highlight, crimson for alerts or sale tags, and ivory as the page background. Here is a starting set of CSS variables:

:root {
--royal-purple: #7851A9;
--royal-blue: #4169E1;
--gold: #FFD700;
--crimson: #B01030;
--ivory: #FFFFF0;
}
.button { background: var(--royal-purple); color: var(--ivory); }
.hero { background: linear-gradient(135deg, #7851A9, #4169E1); }
A purple to blue gradient is natural because the hues sit close on the wheel, so the blend stays clean instead of turning gray in the middle. On dark backgrounds, lighten royal purple a step so it does not sink, and check every text pairing again.
Try this: Paste the five codes into a simple page and set a heading in gold on an ivory background. Then swap it to royal purple. Notice how the same layout moves from faint to confident.
Royal Colors in Branding, Interiors and Fashion
In branding, royal colors signal heritage, quality and ceremony, so they suit universities, financial services, luxury goods and awards. Use them with restraint: one deep color plus gold is usually enough. A themed birthday party with a crown motif is a fun, low-stakes place to use the full five-color set.
In interiors, treat purple as an accent in cushions, velvet chairs or a feature wall, with ivory trim to keep rooms bright. A deep blue wall with brass or gold hardware gives a library feel. In fashion, royal blue is a flattering, confident color in daywear and eveningwear, while purple and crimson velvet read as formal and festive.
Printing Royal Colors Without Muddy Results
Screens glow, while ink absorbs. The first time I proofed for a brochure, the printed blue came back noticeably duller than my monitor because very bright RGB blues fall outside the CMYK range. Royal purple has the same problem: it can drift toward gray or blue on coated stock.
Before sending files to a printer, run through this short checklist:
- Ask for a physical proof, not just a PDF preview.
- Use Pantone spot colors for logo purples and blues when budgets allow.
- Treat gold as metallic foil or ink, since CMYK yellow looks mustard.
- Choose an ivory paper stock instead of printing a tint of .
- Keep small text in ivory or white, reversed out of the dark color, in a heavier weight.
Every color in this palette
Royal Colors: questions people ask
What are the official royal colors?
There is no single official set, because every monarchy and team defines its own. The traditional royal palette is purple, blue, gold and red, usually softened with ivory or white.
What is the hex code for royal blue?
The web and CSS royal blue is #4169E1 (RGB 65, 105, 225). The traditional, much darker royal blue used on many flags and uniforms is closer to #012169.
What is the hex code for royal purple?
A common royal purple is #7851A9 (RGB 120, 81, 169), which is also the shade Crayola introduced in 1990. Other sources use slightly different values such as #6C3BAA, so match the code to your brand guide.
What colors go well with royal purple?
Gold and ivory are the classic partners, with crimson for drama and royal blue for a cool, layered look. For a modern feel, try a pale lavender or a soft gray as the light neutral.
Why is purple linked to royalty?
Tyrian purple dye came from sea snails and took huge quantities to make, so only rulers and the very rich could afford it. Rulers and laws then reserved the color for themselves, and the association stuck.
Keep exploring
- Skin Tone Hex Codes: Realistic Skin Color Palettes
- Summer Color Palettes: Bright and Trendy Schemes
- Cute Colors: Soft and Pretty Color Palettes
- Fair Skin Tone Colors: Hex Codes and Palettes
- Brown Skin Tones: Hex Codes and Color Palettes
- Venus Planet Colors: Palette and Hex Codes
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes