graf1x

DarkViolet and Gold

Triadic color combination with 4.68:1 contrast ratio

#9400D3
#FFD700

Color Values

DarkViolet
HEX #9400D3
RGB 148, 0, 211
HSL 282, 100%, 41%
Gold
HEX #FFD700
RGB 255, 215, 0
HSL 51, 100%, 50%

Harmony: Triadic

These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents.

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

WCAG Contrast

4.68:1
DarkViolet background with Gold text
AA normal text, AAA large text

UI Preview

DarkViolet surface

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

Gold surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #9400D3;
  --color-b: #FFD700;
  --color-a-rgb: 148, 0, 211;
  --color-b-rgb: 255, 215, 0;
}

JSON

{
  "name": "DarkViolet and Gold",
  "colors": [
    {
      "name": "DarkViolet",
      "hex": "#9400D3",
      "rgb": [
        148,
        0,
        211
      ]
    },
    {
      "name": "Gold",
      "hex": "#FFD700",
      "rgb": [
        255,
        215,
        0
      ]
    }
  ],
  "harmony": "Triadic",
  "contrastRatio": 4.68
}

Explore These Colors

Frequently Asked Questions

Do darkviolet and gold go together?

Yes. DarkViolet and Gold form a triadic color combination. These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents. The pairing has a WCAG contrast ratio of 4.68:1, which passes AA for large text and UI components.

What is the contrast ratio between darkviolet and gold?

The WCAG 2.1 contrast ratio between DarkViolet (#9400D3) and Gold (#FFD700) is 4.68:1. This passes AA for normal text and AAA for large text.

How do I use darkviolet and gold 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 gold?

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