How to use Purple Color Code: HEX, RGB, HSL, CMYK
- Pick a colour with the colour box, or type a code such as
#4f46e5,rgb(79, 70, 229)or a name liketomato. - The results update instantly.
- Click Copy or any colour swatch to copy its code.
What is it good for?
Purple is the CSS colour #800080. See its RGB, HSL, HSV and CMYK values and convert any other colour.
Designers and developers move between colour formats constantly, and getting a conversion even slightly wrong can make a brand colour look off. People most often reach for it when converting design-tool values into CSS, building a palette for a website or presentation and checking that text is readable on a background.
See it in action
For example, the colour purple comes out like this:
Purple in every format
Purple is one of the 140 named colours in CSS, so you can write color: purple; in a stylesheet instead of a code. Its HEX value is #800080, in RGB it is rgb(128, 0, 128), in HSL hsl(300, 100%, 25%), in HSV hsv(300, 100%, 50%) and in CMYK cmyk(0%, 100%, 0%, 50%).
Print colours rarely match screen colours exactly. The CMYK numbers here are a simple mathematical conversion, so use a proof from your printer for brand work.
Using it day to day
If something does not look right, reload the page and try again with a simple example. That tells you quickly whether the issue is the input or the setup.
Use the copy and download buttons where they appear. They save you from selecting text by hand, which is easy to get wrong on a phone.
Privacy
Colours are calculated in your browser. Nothing leaves your device.
Frequently asked questions
Is Purple Color Code: HEX, RGB, HSL, CMYK free to use?
Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.
Is my data safe when I use Purple Color Code: HEX, RGB, HSL, CMYK?
Colours are calculated in your browser. Nothing is uploaded.
Does Purple Color Code: HEX, RGB, HSL, CMYK work on my phone?
Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.
Any tips for using Purple Color Code: HEX, RGB, HSL, CMYK?
The CSS name "purple" equals #800080, which is rgb(128, 0, 128). Use whichever form your tool accepts.