graf1x

DarkGreen and Purple

Complementary color combination with 1.27:1 contrast ratio

#006400
#800080

Color Values

DarkGreen
HEX #006400
RGB 0, 100, 0
HSL 120, 100%, 20%
Purple
HEX #800080
RGB 128, 0, 128
HSL 300, 100%, 25%

Harmony: Complementary

These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting.

The hue angle between DarkGreen and Purple is 180 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.27:1
DarkGreen background with Purple text
Below AA — decorative use only

UI Preview

DarkGreen surface

Sample text on a darkgreen background demonstrates readability and visual hierarchy.

Purple surface

Sample text on a purple background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #006400;
  --color-b: #800080;
  --color-a-rgb: 0, 100, 0;
  --color-b-rgb: 128, 0, 128;
}

JSON

{
  "name": "DarkGreen and Purple",
  "colors": [
    {
      "name": "DarkGreen",
      "hex": "#006400",
      "rgb": [
        0,
        100,
        0
      ]
    },
    {
      "name": "Purple",
      "hex": "#800080",
      "rgb": [
        128,
        0,
        128
      ]
    }
  ],
  "harmony": "Complementary",
  "contrastRatio": 1.27
}

Explore These Colors

Frequently Asked Questions

Do darkgreen and purple go together?

Yes. DarkGreen and Purple form a complementary color combination. These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting. The pairing has a WCAG contrast ratio of 1.27:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between darkgreen and purple?

The WCAG 2.1 contrast ratio between DarkGreen (#006400) and Purple (#800080) is 1.27:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use darkgreen and purple in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Since these are complementary colors, lean toward a 70/25/5 split to keep the contrast from becoming overwhelming. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for darkgreen and purple?

DarkGreen has the hex code #006400 and RGB values rgb(0, 100, 0). Purple has the hex code #800080 and RGB values rgb(128, 0, 128). You can copy these directly into CSS or use the design tokens provided on this page.