The original dye came from a sea snail and was so expensive that it was reserved for kings and emperors. It's a deep, reddish violet. It still signals luxury today and shows up in premium packaging and fashion.
Also known as: Tyrian purple, royal purple.
The hex code for purple is #800080. In RGB it is rgb(128, 0, 128), in HSL hsl(300, 100%, 25%) and in CMYK 0, 100, 0, 50.
Pick a color to pair it with and see how it looks on clothes, interiors and design.
Purple (#800080) is a balanced, dark, highly saturated color. It belongs to the purples family. It mixes 128 red, 0 green and 128 blue (out of 255). It is mostly used in luxury, fashion, branding.

From lightest to darkest. Tap a shade to copy its code.
See all its shades: Color shades generator

Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--purple: #800080;
--purple-rgb: 128, 0, 128;
}
.bg { background-color: var(--purple); }
.text { color: var(--purple); }
The hex code for purple is #800080. In RGB it is rgb(128, 0, 128), in HSL hsl(300, 100%, 25%) and in CMYK 0, 100, 0, 50.
Its complement on the color wheel is #008000, close to green. Used in small doses, it works as an accent and adds strong contrast.
Yes. The contrast with white is 9.4:1, enough for body text (WCAG AA).
It pairs well with yellow, gray, white, olive green, gold. Avoid pairing it with intense reds and oranges at the same time, because the look gets heavy. With very dark brown it can look dull.
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more