Export

Code

/* Dusk Purple — colorset.net */
:root {
  --color-1: #1A0033;
  --color-2: #2E0854;
  --color-3: #4B1283;
  --color-4: #6B1FB1;
  --color-5: #8E44AD;

  --color-bg: #FBF4FF;
  --color-surface: #F3EAF7;
  --color-border: #DBD0E1;
  --color-text: #190131;
  --color-muted: #6B627B;
  --color-primary: #6B1FB1;
  --color-on-primary: #FFFFFF;
  --color-accent: #2E0854;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #120B1C;
    --color-surface: #1C1527;
    --color-border: #31293F;
    --color-text: #B29EBD;
    --color-muted: #8D7D95;
    --color-primary: #8541CF;
    --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 #8E44ADadjusted for contrast · from #1A0033
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #1A0033adjusted for contrast · from #8E44AD
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #8E44AD
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #8E44AD
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.88:1AAA pass 4.5:1
Text on surface16.44:1AAA pass 4.5:1
Muted text on background5.33:1AA pass 4.5:1
Label on primary8.55:1AAA pass 4.5:1
Label on accent16.42:1AAA pass 4.5:1
Primary on background7.93:1AAA pass 3:1
Accent on background15.24:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.81:1AAA pass 4.5:1
Text on surface7.18:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent5.75:1AA pass 4.5:1
Primary on background3.35: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)#2E0854 (Text 2)#4B1283 (Text 3)#6B1FB1 (Text 4)#8E44AD (Text 5)
#1A0033Same color1.17—1.57—2.25—3.28AA Large
#2E08541.17—Same color1.34—1.92—2.80—
#4B12831.57—1.34—Same color1.43—2.09—
#6B1FB12.25—1.92—1.43—Same color1.46—
#8E44AD3.28AA Large2.80—2.09—1.46—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1A0033#2E0854#4B1283#6B1FB1#8E44AD

Variations

About Dusk Purple

Five colors make up Dusk Purple, a cool purple set: #1A0033, #2E0854, #4B1283, #6B1FB1, #8E44AD. All hues sit within 15° of each other, so deep purple #1A0033 and its relatives form a cohesive monochromatic scheme. With lightness between 18% and 53% and #4B1283 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.153, medium for a palette, so the colors are clear without being loud; the most saturated color is #6B1FB1. As a UI theme it uses #6B1FB1 for primary actions and #2E0854 as the accent; dark mode sits on #120B1C with #B29EBD text (7.8:1). Try it for music and nightlife, premium products and film and media, letting dark purple #6B1FB1 carry the key actions.

Dusk Purple color palette: #1A0033, #2E0854, #4B1283, #6B1FB1, #8E44AD
Share image for Dusk Purple

Gradients in similar colors