Export

Code

/* Indigo Night — colorset.net */
:root {
  --color-1: #4B0082;
  --color-2: #8A2BE2;
  --color-3: #9370DB;
  --color-4: #000000;
  --color-5: #FFD700;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #000000;
  --color-muted: #4A4A4A;
  --color-primary: #8A2BE2;
  --color-on-primary: #FFFFFF;
  --color-accent: #8C7500;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #E4DAB5;
    --color-muted: #7D765B;
    --color-primary: #8A2BE2;
    --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
Backgroundadjusted for contrast · from #FFD700from palette · color 4
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 4adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #9370DBfrom palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background19.57:1AAA pass 4.5:1
Text on surface18.04:1AAA pass 4.5:1
Muted text on background8.26:1AAA pass 4.5:1
Label on primary5.96:1AA pass 4.5:1
Label on accent4.51:1AA pass 4.5:1
Primary on background5.55:1AA pass 3:1
Accent on background4.20:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.99:1AAA pass 4.5:1
Text on surface14.99:1AAA pass 4.5:1
Muted text on background4.61:1AA pass 4.5:1
Label on primary5.96:1AA pass 4.5:1
Label on accent14.97:1AAA pass 4.5:1
Primary on background3.52: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#4B0082 (Text 1)#8A2BE2 (Text 2)#9370DB (Text 3)#000000 (Text 4)#FFD700 (Text 5)
#4B0082Same color2.17—3.44AA Large1.62—9.23AAA
#8A2BE22.17—Same color1.58—3.52AA Large4.25AA Large
#9370DB3.44AA Large1.58—Same color5.58AA2.68—
#0000001.62—3.52AA Large5.58AASame color14.97AAA
#FFD7009.23AAA4.25AA Large2.68—14.97AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4B0082#8A2BE2#9370DB#000000#FFD700

Variations

About Indigo Night

About 71% of the color weight in Indigo Night sits in purple, which makes it a cool palette anchored by vivid purple #8A2BE2. A 159° hue spread puts purple against pale yellow #FFD700, close to a complementary contrast. Lightness runs from 0% to 89% (OKLCH), with #8A2BE2 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is medium (mean OKLCH chroma 0.154, peaking at 0.250 in #8A2BE2); the colors are clear without being loud. Text contrast reaches 19.6:1 in light mode and 15.0:1 in dark mode, with #8A2BE2 as primary and #8C7500 as accent. Try it for creative studios, beauty brands and music and nightlife, letting vivid purple #8A2BE2 carry the key actions.

Indigo Night color palette: #4B0082, #8A2BE2, #9370DB, #000000, #FFD700
Share image for Indigo Night

Gradients in similar colors