Export

Code

/* Indigo Midnight — colorset.net */
:root {
  --color-1: #1A0033;
  --color-2: #2D0055;
  --color-3: #400077;
  --color-4: #530099;
  --color-5: #6600BB;

  --color-bg: #F8F5FF;
  --color-surface: #EFEBFA;
  --color-border: #D7D2E4;
  --color-text: #190131;
  --color-muted: #6B627B;
  --color-primary: #6600BB;
  --color-on-primary: #FFFFFF;
  --color-accent: #2D0055;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #120B1C;
    --color-surface: #1C1527;
    --color-border: #31293F;
    --color-text: #A99FC1;
    --color-muted: #867E99;
    --color-primary: #8238DD;
    --color-on-primary: #FFFFFF;
    --color-accent: #725B96;
    --color-on-accent: #FFFFFF;
  }
}

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 #6600BBadjusted for contrast · from #1A0033
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #1A0033adjusted for contrast · from #6600BB
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #6600BB
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #6600BB
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.89:1AAA pass 4.5:1
Text on surface16.45:1AAA pass 4.5:1
Muted text on background5.33:1AA pass 4.5:1
Label on primary9.20:1AAA pass 4.5:1
Label on accent16.90:1AAA pass 4.5:1
Primary on background8.54:1AAA pass 3:1
Accent on background15.69:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.72:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary5.90:1AA pass 4.5:1
Label on accent5.75:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background3.35:1AA Large 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#1A0033 (Text 1)#2D0055 (Text 2)#400077 (Text 3)#530099 (Text 4)#6600BB (Text 5)
#1A0033Same color1.14—1.36—1.67—2.09—
#2D00551.14—Same color1.19—1.47—1.84—
#4000771.36—1.19—Same color1.23—1.54—
#5300991.67—1.47—1.23—Same color1.25—
#6600BB2.09—1.84—1.54—1.25—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1A0033#2D0055#400077#530099#6600BB

Variations

About Indigo Midnight

Five colors make up Indigo Midnight, a cool purple set: #1A0033, #2D0055, #400077, #530099, #6600BB. All hues sit within 3° of each other, so deep purple #1A0033 and its relatives form a cohesive monochromatic scheme. From #1A0033 to #6600BB the colors share a similar dark value (lightness 18%–43%), which suits fills and illustration more than body text. Average chroma is 0.166, high for a palette, so the colors feel saturated and energetic; the most saturated color is #6600BB. In light mode #F8F5FF becomes the background with #190131 text at 17.9:1, and #6600BB takes the primary role. With #6600BB leading, good fits include music and nightlife, premium products and creative studios.

Indigo Midnight color palette: #1A0033, #2D0055, #400077, #530099, #6600BB
Share image for Indigo Midnight

Gradients in similar colors