graf1x

DarkViolet and Olive

Split-Complementary color combination with 1.57:1 contrast ratio

#9400D3
#808010

Color Values

DarkViolet
HEX #9400D3
RGB 148, 0, 211
HSL 282, 100%, 41%
Olive
HEX #808010
RGB 128, 128, 16
HSL 60, 78%, 28%

Harmony: Split-Complementary

This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance.

The hue angle between DarkViolet and Olive is 138 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.57:1
DarkViolet background with Olive text
Below AA — decorative use only

UI Preview

DarkViolet surface

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

Olive surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #9400D3;
  --color-b: #808010;
  --color-a-rgb: 148, 0, 211;
  --color-b-rgb: 128, 128, 16;
}

JSON

{
  "name": "DarkViolet and Olive",
  "colors": [
    {
      "name": "DarkViolet",
      "hex": "#9400D3",
      "rgb": [
        148,
        0,
        211
      ]
    },
    {
      "name": "Olive",
      "hex": "#808010",
      "rgb": [
        128,
        128,
        16
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 1.57
}

Explore These Colors

Frequently Asked Questions

Do darkviolet and olive go together?

Yes. DarkViolet and Olive form a split-complementary color combination. This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance. The pairing has a WCAG contrast ratio of 1.57:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between darkviolet and olive?

The WCAG 2.1 contrast ratio between DarkViolet (#9400D3) and Olive (#808010) is 1.57: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 darkviolet and olive 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. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for darkviolet and olive?

DarkViolet has the hex code #9400D3 and RGB values rgb(148, 0, 211). Olive has the hex code #808010 and RGB values rgb(128, 128, 16). You can copy these directly into CSS or use the design tokens provided on this page.