Export

Code

/* Indigo Twilight — colorset.net */
:root {
  --color-1: #1A0B2E;
  --color-2: #2F1E45;
  --color-3: #4B2E5C;
  --color-4: #6A4C93;
  --color-5: #9D7BB8;

  --color-bg: #FAF4FF;
  --color-surface: #F1EAF8;
  --color-border: #DAD1E2;
  --color-text: #1A0B2E;
  --color-muted: #6D657E;
  --color-primary: #6A4C93;
  --color-on-primary: #FFFFFF;
  --color-accent: #2F1E45;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1A0B2E;
    --color-surface: #24163A;
    --color-border: #372F46;
    --color-text: #B4A2C3;
    --color-muted: #8D8099;
    --color-primary: #785AA3;
    --color-on-primary: #FFFFFF;
    --color-accent: #A990D2;
    --color-on-accent: #1A0B2E;
  }
}

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 #9D7BB8from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #9D7BB8
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #6A4C93
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #9D7BB8
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.19:1AAA pass 4.5:1
Text on surface15.79:1AAA pass 4.5:1
Muted text on background5.10:1AA pass 4.5:1
Label on primary6.85:1AA pass 4.5:1
Label on accent15.08:1AAA pass 4.5:1
Primary on background6.34:1AA pass 3:1
Accent on background13.97:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.11:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary5.54:1AA pass 4.5:1
Label on accent6.72:1AA pass 4.5:1
Primary on background3.35:1AA Large pass 3:1
Accent on background6.72:1AA 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#1A0B2E (Text 1)#2F1E45 (Text 2)#4B2E5C (Text 3)#6A4C93 (Text 4)#9D7BB8 (Text 5)
#1A0B2ESame color1.23—1.63—2.71—5.27AA
#2F1E451.23—Same color1.32—2.20—4.28AA Large
#4B2E5C1.63—1.32—Same color1.66—3.23AA Large
#6A4C932.71—2.20—1.66—Same color1.94—
#9D7BB85.27AA4.28AA Large3.23AA Large1.94—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1A0B2E#2F1E45#4B2E5C#6A4C93#9D7BB8

Variations

About Indigo Twilight

Nearly all of the color weight in Indigo Twilight sits in purple, which makes it a cool palette anchored by dark purple #4B2E5C. With a hue spread of just 12°, it is effectively monochromatic: #1A0B2E, #2F1E45 and #4B2E5C differ mostly in lightness. Lightness spans 19% (#1A0B2E) to 64% (#9D7BB8), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.087, peaking at 0.114 in #6A4C93); the colors feel soft and muted. Text contrast reaches 17.2:1 in light mode and 7.9:1 in dark mode, with #6A4C93 as primary and #2F1E45 as accent. Try it for premium products, music and nightlife and minimal branding, letting purple #6A4C93 carry the key actions.

Indigo Twilight color palette: #1A0B2E, #2F1E45, #4B2E5C, #6A4C93, #9D7BB8
Share image for Indigo Twilight

Gradients in similar colors