Palette maker

Royal Purple Color: Hex Code #7851A9, RGB and Palettes

Royal purple is a medium, slightly muted violet with the hex code , which is rgb(120, 81, 169) in RGB and hsl(267, 35%, 49%) in HSL. It is the shade Crayola sells as Royal Purple, and it leans a little bluer than the ancient dye that gave the color its name.

On this page
  1. Color codes
  2. Appearance
  3. History
  4. Similar colors
  5. Pairings
  6. Shades and tints
  7. Accessibility
  8. CSS
  9. Uses
  10. Print and paint
  11. FAQ

Below you will find every code you need, how it compares with nearby purples, what pairs with it, real contrast ratios and print notes. The palette maker above builds monochrome, analogous, complementary, triadic and split palettes from , so use it when you want a full scheme in one go.

Royal Purple Hex, RGB, HSL and CMYK Values

All values below are computed from the hex code . The red channel is 78 in hex (120), green is 51 (81) and blue is A9 (169). That blue channel being much larger than the red one is what pushes the color toward violet instead of magenta.

Format Value
HEX
RGB rgb(120, 81, 169)
HSL hsl(267, 35%, 49%)
HSV 267°, 52%, 66%
CMYK (simple conversion) 29%, 52%, 0%, 34%
CSS keyword None (use the hex value)

Royal purple is not a named CSS color, so you always write it as a hex, rgb() or hsl() value. The CMYK figures come from the standard mathematical conversion. A real press will give slightly different numbers, which I come back to in the print section.

What Royal Purple Looks Like on Screen

Think of a violet that has been softened with a little grey. The saturation is only 35%, so it is dustier than a neon purple, and the lightness is 49%, almost exactly the midpoint. That balance is why it works both as a background behind white text and as text on a white page.

It reads as cool, calm and a touch formal. Because the blue channel dominates, it never drifts toward pink the way warmer purples do. Turned to greyscale it lands near a mid-dark grey (around ), which tells you it carries its weight through hue, not through brightness.

Some sites list it under the alias Royal Lavender, so if you search that name you will land on the same .

From Tyrian Dye to Crayola: Where the Name Began

Tyrian purple, also known as royal purple or imperial purple, is a reddish-purple natural dye made from murex sea snails in the Phoenician city of Tyre. One pound of Tyrian purple wool cost more than most people earned in a year, so only rulers and the very rich could wear it. Roman generals celebrating a triumph wore the toga picta, solid Tyrian purple edged with gold thread.

Born in the purple

In Byzantium, the saying "born in the purple" is believed to have started for children of high-ranking families. It still means noble birth.

The modern color is a different thing. Royal purple as a color name describes a purple that is bluer than the ancient Tyrian purple, and the deep Tyrian tone is closer to . In 1856 the chemist William Henry Perkin accidentally created a synthetic purple while trying to make an anti-malaria drug, which put purple dye within reach of ordinary buyers and slowly wore away its exclusivity.

Royal Purple vs Rebecca Purple, Amethyst and Indigo

Most confusion comes from neighbors that sit within a few steps on the wheel. Rebecca Purple () has a similar hue but is darker and more saturated. Amethyst () and Medium Purple () are lighter and more luminous, while Grape () is the electric, high-chroma cousin.

Which of these neighbors is darker and more saturated than royal purple?

Rebecca Purple sits at a similar hue but with lower lightness and much higher saturation, while the other two are lighter.

If you want to go cooler, indigo blue pulls the same family toward navy. If you want to go warmer, raspberry adds a red-pink push. Plain CSS purple () is the one most people mistake for royal purple, but it is a heavier, more magenta color.

A quick rule from my own work: when a client says “royal purple” and shows a screenshot, sample it. The word covers a wide range, and is only one reading of it.

Colors That Go With Royal Purple

The classic partners are gold, cream and silver. A metallic gold such as gives the regal look, cream () keeps it soft, and a cool silver makes it feel modern. All three have enough lightness to stand apart from a mid-tone purple.

Velvet Court

Invitations, premium packaging and formal brand identities with a gold accent.

Garden Complement

Product pages and illustrations that need a fresh green against the purple.

Twilight UI

Dark-mode dashboards and music or gaming apps with layered violet surfaces.

Plum and Stone

Living rooms, editorial layouts and wedding stationery with warm neutral balance.

For harmonies, the numbers come straight from rotating hue on the wheel while keeping saturation and lightness the same:

  • Complementary: , a soft leaf green opposite on the wheel.
  • Analogous: (bluer) and (pinker).
  • Triadic: (warm clay) and (sea green).
  • Split complementary: and , two yellow-greens beside the complement.

Because they share the same saturation, these partners feel related instead of clashing. For a bolder cool pairing, the teal and purple combinations show how far you can push contrast. The palettes below build on those harmonies.

Shades and Tints for Buttons, Hovers and Backgrounds

A usable interface needs more than one purple. These steps keep the same hue as royal purple:

  • Shades (darker): , , , , ,
  • Tints (lighter): , , , , , ,

In practice I use for hover and pressed states, for card or section backgrounds, and for disabled controls or borders. Dark text and heavy headings usually look best on or rather than pure black.

Seven purple swatches from light tint to dark shade with hex codes, base #7851A9 marked, dark text then white text
On a royal purple ladder, text turns from dark to white right at the #7851A9 base.

For dark themes, layer , and as surface levels and keep for the primary action. The dark blue and dark purple pairings are useful if you want a night-sky feel without going flat.

Strip of five royal purple swatches from dark to light labeled text, hover, main, disabled and background with hex codes
Five steps of one purple cover text, hover, main, disabled and background roles in an interface.

Is Royal Purple Accessible? Contrast Ratios Checked

I computed these from the relative luminance of , which is about 0.127. The results are clear enough to design with:

  • White text on royal purple: 5.92:1, passes WCAG AA for normal text.
  • Royal purple text on white: the same 5.92:1.
  • Black text on royal purple: 3.55:1, enough only for large text.
  • Royal purple text on : about 4.96:1, still above 4.5:1.

None of these reach the 7:1 needed for AAA body text, so for long reading in AAA contexts choose a darker shade such as . On a light neutral like #EDEDED, royal purple gives roughly 5.05:1, which is fine for links and labels.

Which text color is the safest choice on a #7851A9 button?

White gives 5.92:1, which passes WCAG AA for body text, while black reaches only 3.55:1.

I once fixed a dashboard where thin purple outlines on a pale grey card were hard to see for several users. Switching to a filled button with white text, and adding an icon next to every colored status, solved it. Never rely on hue alone, since in greyscale royal purple becomes a mid-dark grey.

Copy-Ready CSS for Royal Purple

Here is a small set of custom properties covering the main states:

:root {
  --royal-purple: #7851A9;
  --royal-purple-dark: #694794;
  --royal-purple-tint: #EEE9F4;
}

.button {
  background: var(--royal-purple);
  color: #fff;
}

.button:hover {
  background: var(--royal-purple-dark);
}

.banner {
  background: linear-gradient(135deg, #AB92C9, #7851A9, #3C2955);
}

If you prefer HSL, write hsl(267, 35%, 49%) and adjust only the lightness for hover and active states. That keeps the hue steady. In Tailwind you can use the arbitrary value bg-[], and in Android Compose it is Color(0xFF7851A9).

Using Royal Purple in Branding, Interiors and Fashion

Branding and interface

Royal purple signals premium, creative and thoughtful without the loudness of neon violet. It suits beauty, education, wellness, fintech and creative tools. Pair it with white space, a warm neutral and one metallic accent. For body copy, a dark grey is gentler than black against purple accents.

Interiors

On walls, it works best as an accent wall or in velvet, cushions and rugs. Under warm lamps it moves slightly toward plum, and in cool daylight it looks bluer. Always test a large sample in the actual room at morning and evening before you commit.

Fashion and art

In clothing, it flatters with cream, grey and gold jewelry. Painters often mute it further with a touch of its complement green, which creates natural shadows. As a ceremonial color, it still carries the weight of coronations and academic dress.

Printing and Mixing Royal Purple Accurately

The simple CMYK conversion for is C29 M52 Y0 K34, but that is only a starting point. On a print job for a boutique tea brand, the proof came back greyer and flatter than the screen, because uncoated paper absorbs ink and mutes the blue. We fixed it by proofing on the actual stock and asking the printer to adjust to the profile, not to the raw numbers.

For brand-critical purple, ask for a spot ink match instead of relying on CMYK. Screens show purple with light, so some blues and violets simply fall outside what ink can produce.

Try this: Print on your own printer on plain paper and on glossy photo paper. Hold both next to your screen and note which one is closest.

For paint, mix a blue and a red, with blue in greater amount, then add white to lighten. A tiny speck of grey or the complementary green brings the saturation down to the soft 35% of royal purple. Mix a little more than you need, because matching a purple batch twice is notoriously hard.

Colors close to royal purple

Royal Purple Color: questions people ask

What is the hex code for royal purple?

The hex code for royal purple is #7851A9. It equals rgb(120, 81, 169) and hsl(267, 35%, 49%), and it is the value used for Crayola's Royal Purple.

Is royal purple the same as Tyrian purple?

Not quite. Tyrian purple is the ancient reddish dye made from murex sea snails, while the modern royal purple color is bluer than that dye. The names are often used for each other, which is why they get confused.

How is royal purple different from CSS purple?

CSS purple is #800080, a darker and more magenta color with full saturation in its red and blue channels. Royal purple (#7851A9) is lighter, cooler and more muted, so it feels calmer and more refined.

What colors go well with royal purple?

Gold, cream, silver and soft lavender tints are the safest partners. For contrast, try a muted green such as #81A951, or a warm clay such as #A97851.

Can I put white text on royal purple?

Yes. White on #7851A9 has a contrast ratio of 5.92:1, which passes WCAG AA for normal text. It does not reach the 7:1 needed for AAA, so use larger or heavier text if you are aiming for that level.

Keep exploring