Palette maker

Purple and Green Color Palette: Combinations and Hex Codes

The classic purple and green pairing is (purple) and (green), the two CSS named colors, and it works best when one leads and the other accents.

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Color codes
    2. The look
    3. Color wheel
    4. Contrast
    5. Web and UI
    6. Print
    7. Interiors
    8. Matching colors
    9. Examples
    10. Palettes
    11. FAQ

    The strip and live preview above show both as background, text and button, with a contrast score that tells you quickly where the pair works and where it fights. The short version: this duo is bold and a little playful, and it needs a plan for lightness, balance and neutrals.

    Purple and Green Color Codes: HEX, RGB, HSL and CMYK

    Here are the exact values for both colors, computed from the hex codes.

    Color HEX RGB HSL CMYK
    Purple 128, 0, 128 300°, 100%, 25% 0, 100, 0, 50
    Green 0, 128, 0 120°, 100%, 25% 100, 0, 100, 50

    Both names come from the CSS and HTML color list, and that list can be confusing. CSS green is the darker , while the vivid people often picture is called lime. CSS purple is also not the electric violet you see in many logos: it is a deep magenta-leaning purple.

    The CMYK figures above are the plain mathematical conversion. A print shop using a real ICC profile will give you slightly different numbers, so treat them as a starting point and not a press-ready recipe.

    What Purple and Green Look Like Together

    has equal parts red and blue and no green at all, which puts it in the magenta family, somewhere between violet and fuchsia. is the opposite: pure green with no red or blue. Both sit at 25% lightness and full saturation, which is why they feel loud side by side, almost like an arcade cabinet.

    Close colors change the mood a lot. (indigo) is bluer and calmer than . (forest green) keeps the same hue as but is lighter and softer, and (lime green) is brighter and more playful. If your purple looks too pink, move toward indigo. If your green looks too harsh, move toward forest or olive.

    The easiest fix for the pair is to stop matching their lightness. Make one color clearly darker or lighter than the other, such as a deep plum with a pale mint, or a light lilac with a dark forest green. That one change turns a clash into a deliberate contrast.

    Are Purple and Green Complementary Colors?

    On the digital HSL wheel, yes. sits at 300 degrees and at 120 degrees, exactly 180 degrees apart. The true RGB complement of green is magenta, so if you want to see what a stricter opposite looks like, red and magenta shows that family.

    On the traditional painter’s wheel, the answer is different. Purple and green are both secondary colors with blue between them, so they act like a bold neighboring pair. The painter’s complement of purple is yellow, and the complement of green is red. That is why gold works so well as a third color: it is the true opposite of purple.

    You can also approach the pair from the blue side. Blue-leaning versions of each, such as a deep navy-purple and a teal-green, feel closer and calmer. Dark blue and dark purple and light blue and green show how each color behaves when blue is the bridge.

    Try this: Place and side by side and take a greyscale screenshot. They separate only a little. Now swap the green for and check again: the difference is obvious, and the pair feels intentional.

    Purple on Green: Contrast and WCAG Ratios

    I computed the WCAG contrast ratios for the pair. has a relative luminance of about 0.061 and about 0.154, which gives a ratio of only 1.83:1 when one is used as text on the other. WCAG AA asks for 4.5:1 for normal text and 3:1 for large text, so this fails both.

    What contrast ratio does #800080 text have on a #008000 background?

    Both colors are mid-dark, so their luminance is close and the ratio is only about 1.83 to 1.

    Each color against white and black tells you more:

    • White on : about 9.42:1, which passes AA and AAA.
    • Black on : about 2.23:1, which fails.
    • White on : about 5.14:1, which passes AA for normal text.
    • Black on : about 4.09:1, which passes only for large text.

    Purple is the stronger text color on light backgrounds and the better partner for white lettering. Green sits in the middle, so it needs more care. Gold () on reaches about 6.71:1, but on it falls to about 3.66:1, so use gold on purple and not on green.

    I once fixed a dashboard where purple status tags sat on pale green table rows. The hues were different, but the lightness was nearly the same, so the tags blurred into the rows for anyone with low vision or a washed-out screen. Making the tags dark and the rows very light solved it without changing either hue.

    Using Purple and Green in Web and UI Design

    Give each color a job so they stop competing. A reliable split is to use purple for brand and navigation, green for actions and positive states, and a neutral for everything else:

    • Purple for headlines, links, active tabs and the logo.
    • Green for primary buttons, success messages and confirmed states.
    • Near-white or very dark neutrals for backgrounds and body text.
    • A light tint of either color for hover states and table stripes.

    Here is a minimal CSS setup using the exact values:

    Which text color passes WCAG AA for normal text on a #008000 button?

    White reaches about 5.14 to 1, while black only reaches about 4.09 to 1.

    :root {
      --purple: #800080;
      --green: #008000;
      --paper: #FAF7FF;
      --ink: #1E1024;
    }
    a { color: var(--purple); }              /* 9.42:1 on white */
    .button { background: var(--green); color: #fff; } /* 5.14:1 */

    Gradients need a warning. Blending straight into passes through , a flat dark grey, because the midpoint averages each channel. Add a middle stop to keep the color alive, for example linear-gradient(90deg, #800080, #008080, #008000), which travels through teal. The pink blue gradient page covers more CSS tricks for smooth two-color blends.

    Purple and Green in Branding and Print

    The pair suggests creativity, nature and a slightly unconventional personality. Purple adds a sense of luxury or imagination, and green adds growth and freshness. Brands that want to feel calm and premium usually go dark on both, while playful brands use brighter, lighter versions.

    Two panels compare purple #800080 and green #008000 on screen in RGB and in print as CMYK, noting purple prints bluer
    Purple can print noticeably bluer than its screen hex, so check a physical proof before approving.

    Print is where this combination surprises people. Purple is hard to hold steady in CMYK because a small shift in the cyan balance can push it toward blue or toward pink. On one packaging proof, my deep purple came back noticeably bluer than on screen, and I only caught it because I had printed a swatch beside the old brand color.

    Print check

    Always request a physical proof for purple, and ask whether a spot ink would hold the color better than a CMYK mix.

    Green is usually more forgiving, but saturated greens can dull on uncoated paper. Test both colors on the actual stock, and keep a darker neutral for small text instead of relying on either color to carry it.

    Purple and Green in Interiors and Fashion

    In a room, the safest approach is a dominant color, a secondary color and a small accent. A pale sage or warm neutral wall with a plum sofa and a few green plants gives you purple and green without strain. If you prefer more drama, a deep eggplant or aubergine on one wall with olive and moss details feels moody and layered. A warm white on the ceiling and trim keeps either option from feeling heavy.

    Texture matters as much as shade. Velvet and satin in purple against matte linen or ceramics in green look rich, while a flat, glossy purple against a flat, glossy green can look cartoonish. Wood, brass and rattan ground the pair and stop it from reading as too cool.

    In fashion, the same logic applies. An eggplant coat with an olive scarf, or a lilac shirt with dark green trousers, feels more refined than bright purple with bright green. Keep one color bold and the other muted, and add a neutral such as cream, grey or black to break up the mix.

    Colors That Go With Purple and Green

    Because both colors are cool, a warm third color gives balance. Beige, cream and tan-gold are good choices, and gold itself is a classic partner. These are the safest pairings:

    • Gold or brass for richness, especially with deep purple.
    • Cream, beige or warm white for a gentle background.
    • Charcoal or black for sharp, modern contrast.
    • Soft grey for a quieter, more corporate feel.
    • Coral or peach for a small, lively accent.

    If you want a more restrained look, purple and grey is a calmer base, and navy and green shows what happens when you replace purple with a darker, steadier cousin. In both cases, the neutral or blue acts as a buffer, so purple and green stop pressing against each other.

    Four Aa text samples comparing gold and white on purple #800080 and green #008000 with WCAG contrast ratios
    Gold text passes on purple at 6.71:1 but fails on green at 3.66:1, while white passes on both.

    Famous Purple and Green Pairings

    Mardi Gras is the most traditional use. The official colors were chosen in 1892 and are purple for justice, green for faith and gold for power. The gold is what makes the pair feel festive and formal instead of harsh.

    Pop culture uses the duo for villains and misfits. The Joker’s purple suit and green hair is the best-known example, and the Hulk pairs green skin with purple trousers. In theater, the green skin and violet-leaning costumes of Elphaba in Wicked show how the pair can also feel magical and sympathetic.

    All of these examples use the same trick: one color is clearly dominant, and a neutral or a third color keeps the other from competing. That is also the pattern you can follow in your own work.

    Purple and Green Palettes to Copy

    The palettes below range from a festive Mardi Gras mix to a dark, moody one with a mossy accent. Each includes a neutral or a third hue, so you are never forced to balance purple and green alone. Start with the one that matches your project, then adjust lightness before you change any hue.

    Mardi Gras Court

    Festival posters, party invitations and bold sports-style branding with gold trim.

    Garden Lilac

    Soft websites, spring stationery and calm wellness brands on a white base.

    Midnight Moss

    Dark mode interfaces, moody bedrooms and premium packaging with a mossy accent.

    Neon Arcade

    Gaming overlays, event flyers and high-energy social graphics on a near-black base.

    If a palette feels loud, lower the saturation of the larger area and keep the accent as is. If it feels flat, add a thin line or small detail in gold or warm white.

    Shades that keep this combination working

    Purple and Green Color Palette: questions people ask

    What are the hex codes for purple and green?

    The standard web pair is purple #800080 and green #008000. Both are CSS named colors, so you can also write them as purple and green in a stylesheet. For softer or brighter versions, shift the lightness rather than changing the hue.

    Are purple and green complementary colors?

    It depends on the color wheel. On the digital HSL wheel, #800080 (300 degrees) and #008000 (120 degrees) sit exactly opposite each other. On the traditional painter's wheel they are neighbors with blue between them, so they behave more like a bold secondary pair.

    What colors go with purple and green?

    Gold, cream or beige, warm white, charcoal and soft grey all work well. Pick one neutral as your main background and let purple and green share the remaining space.

    Is purple text on a green background readable?

    Not with these two shades. #800080 on #008000 scores about 1.83:1, far below the 4.5:1 that WCAG asks for normal text. Use white, a very pale tint or a dark neutral for text instead.

    What happens when you mix purple and green paint?

    You get a dull, dark brownish grey. Purple and green pigments between them contain all three primaries, so they cancel each other out. If you want a lively transition, go through a blue or teal instead.

    Keep exploring