Export

Code

/* Gold Royal — colorset.net */
:root {
  --color-1: #FFD700;
  --color-2: #DC143C;
  --color-3: #4B0082;
  --color-4: #FFFFFF;
  --color-5: #000000;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #000000;
  --color-muted: #4D4D4D;
  --color-primary: #DC143C;
  --color-on-primary: #FFFFFF;
  --color-accent: #A78C00;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #FFFFFF;
    --color-muted: #7A7A7A;
    --color-primary: #DC143C;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFD700;
    --color-on-accent: #000000;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 4from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 4
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #DC143Cfrom palette · color 1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background21.00:1AAA pass 4.5:1
Text on surface19.43:1AAA pass 4.5:1
Muted text on background8.45:1AAA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent6.39:1AA pass 4.5:1
Primary on background4.99:1AA pass 3:1
Accent on background3.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background21.00:1AAA pass 4.5:1
Text on surface21.00:1AAA pass 4.5:1
Muted text on background4.89:1AA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent14.97:1AAA pass 4.5:1
Primary on background4.21:1AA Large pass 3:1
Accent on background14.97:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#FFD700 (Text 1)#DC143C (Text 2)#4B0082 (Text 3)#FFFFFF (Text 4)#000000 (Text 5)
#FFD700Same color3.56AA Large9.23AAA1.40—14.97AAA
#DC143C3.56AA LargeSame color2.60—4.99AA4.21AA Large
#4B00829.23AAA2.60—Same color12.95AAA1.62—
#FFFFFF1.40—4.99AA12.95AAASame color21.00AAA
#00000014.97AAA4.21AA Large1.62—21.00AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFD700#DC143C#4B0082#FFFFFF#000000

Variations

About Gold Royal

Five colors make up Gold Royal, a balanced multi-color set: #FFD700, #DC143C, #4B0082, #FFFFFF, #000000. Pale yellow #FFD700 and dark purple #4B0082 sit on nearly opposite sides of the wheel (154° apart), a complementary pairing that makes accents pop. A 100-point lightness range (0% for #000000 to 100% for #FFFFFF) gives strong value contrast, useful for text on background. Average chroma is 0.117, medium for a palette, so the colors are clear without being loud; the most saturated color is #DC143C. In light mode #FFFFFF becomes the background with #000000 text at 21.0:1, and #DC143C takes the primary role. With #DC143C leading, good fits include infographics, educational content and illustration.

Gold Royal color palette: #FFD700, #DC143C, #4B0082, #FFFFFF, #000000
Share image for Gold Royal

Gradients in similar colors