Short answer
Red and blue make purple, and magenta with blue makes the brightest purple. Start with equal parts, then add blue for violet or red for a warmer plum. Many reds contain yellow, which turns purple muddy, so a cool red or magenta works best. On screens, the CSS color purple is #800080, or rgb(128, 0, 128).
Last verified against the sources listed below.
Key takeaways
- Red plus blue makes purple; magenta plus blue makes a cleaner, brighter one.
- Warm, orange-leaning reds carry yellow and turn purple brown or gray.
- More blue gives violet or indigo; more red gives plum or magenta-purple.
- Add white for lavender and a touch of yellow or black for a deep eggplant.
- In CSS, purple is #800080 and the brighter violet keyword is #EE82EE.
Purple is the secondary color that most often comes out wrong. Red and blue should make it, yet many beginners get a gray-brown instead. The fix is choosing the right red.
The table shows what works in each medium. The sections below cover ratios, shades and color codes.
| Medium | What makes purple | Result |
|---|---|---|
| Paint | Red + blue, about 1:1 | Mid purple, can be dull |
| Paint, cleaner | Magenta or crimson + ultramarine | Bright, clear purple |
| Printing ink (CMYK) | Magenta + some cyan | Process purple |
| Screen light (RGB) | Red + blue light | Magenta to purple |
Red and blue, done right
Equal parts of a cool red and a warm blue make a clean purple. “Cool” red means one that leans toward blue, such as alizarin crimson or quinacridone magenta. “Warm” blue means one that leans toward red, such as ultramarine.
Each paint then pushes toward the other. Nothing in the mix carries yellow, so the purple stays vivid.
- 1:1: balanced purple
- 2 parts blue, 1 part red: violet or indigo
- 2 parts red, 1 part blue: plum or red-violet
The free Color Wheel shows purple sitting between magenta and blue, which is why these two make the cleanest mix.
Why purple turns muddy
A muddy purple almost always means yellow got into the mix. Many common reds, such as cadmium red, lean orange. That orange carries yellow, and yellow is purple’s opposite.
Art teacher John Muir Laws points out that most red paints already contain yellow, which is why red and blue so often disappoint. Magenta has no yellow bias, so it mixes the brightest purples.
| Red you use | Blue you use | Result |
|---|---|---|
| Quinacridone magenta | Ultramarine | Vivid purple |
| Alizarin crimson | Ultramarine | Deep, rich purple |
| Cadmium red | Ultramarine | Dull, brownish purple |
| Cadmium red | Phthalo blue (green shade) | Gray or brown |
Lavender, plum and eggplant
Every purple shade comes from shifting the ratio or adding white, yellow or black. Make small changes and mix fully each time.
| You want | Change | Note |
|---|---|---|
| Lavender | Add purple into white | Needs much more white than purple |
| Lilac | White plus a touch more red | Warmer than lavender |
| Violet | More blue | Stays cool and bright |
| Plum | More red, a touch of brown | Warm and deep |
| Eggplant | A dot of yellow or black | Very dark; add slowly |
To plan a set of purples before you mix, the Color Shades Generator shows how a purple steps darker toward black.
Purple on screens and in print
On a screen, red and blue light together make magenta-purple. The University of Arizona optics outreach team shows this with lasers: red and blue beams combine into magenta.
| Name | HEX | RGB |
|---|---|---|
| Purple | #800080 | rgb(128, 0, 128) |
| Violet | #EE82EE | rgb(238, 130, 238) |
| Indigo | #4B0082 | rgb(75, 0, 130) |
| Rebecca purple | #663399 | rgb(102, 51, 153) |
| Lavender | #E6E6FA | rgb(230, 230, 250) |
All five are CSS keywords. For print, #800080 converts to roughly 0% cyan, 100% magenta, 0% yellow and 50% black, while brighter purples use magenta with a share of cyan.
Purple and violet are not quite the same
Violet is a spectral color; purple is a mix. Violet light has its own wavelength at the short end of the rainbow. Purple has no single wavelength; your eye builds it from red and blue light together, as Wikipedia’s article on purple explains.
In everyday design work the two names overlap. In paint, violet usually means a bluer purple, and purple means a more balanced or redder one.
Using purple in a design
Purple works best as an accent, because large areas of saturated purple feel heavy. Designers often pair a deep purple with a pale lavender and a neutral gray to keep a layout calm.
For screen text, contrast matters more than hue. White text on #800080 passes the common 4.5:1 contrast target for normal text, while white on a light violet does not. The Color Contrast Checker gives the exact ratio for any pair.
If you want purples that sit well together, build them from one base. Mix a single purple, then make lighter versions with white and darker ones with a touch of yellow or black. Colors made from the same base share an undertone, so the set looks planned rather than random.
Frequently asked questions
What two colors make purple?
Red and blue make purple. For the cleanest result, use magenta or a cool crimson with ultramarine blue. Start with equal amounts, then add blue for a cooler violet or red for a warmer plum. Avoid orange-leaning reds such as cadmium red light, which add yellow and dull the mix.
Why does my red and blue make brown?
Your red or blue contains yellow, so the mix holds all three primaries and turns brown. Cadmium red and some phthalo blues lean toward yellow or green. Swap in a magenta, quinacridone rose or alizarin crimson with ultramarine, and the purple will stay bright.
How do you make light purple or lavender?
Mix purple first, then add it a little at a time to white. Lavender needs far more white than purple, so starting from white saves paint. For a cooler lavender, add a tiny extra amount of blue. The CSS color lavender is #E6E6FA, a very pale blue-purple.
What is the HEX code for purple?
The CSS keyword purple is #800080, which is rgb(128, 0, 128). It mixes red and blue light at half strength. Related keywords include violet at #EE82EE, indigo at #4B0082 and rebeccapurple at #663399, all defined in the W3C color specification.
How do you make dark purple?
Add more blue, then a very small amount of yellow, brown or black. Yellow is purple's complement on the painter's wheel, so a dot of it deepens purple without making it gray as fast as black. Add any darkener in tiny amounts and let a swatch dry before deciding.
Sources
- Color mixing · Wikipedia, 2026
- Purple · Wikipedia, 2026
- Reinventing the Wheel: Why Red is not a primary color · John Muir Laws, 2026
- CSS Color Module Level 4 · W3C, 2026
- Color Mixing w/ Lasers · University of Arizona Optics Outreach, 2026