Dusk color palette

The last light after sunset, when the sky turns from violet to a near-black indigo. #2C1654 and #4A1A7C are deep and inky, #7B2FBE is a rich purple, and #B879F0 and #E4C1F9 hold the glow. Most of the weight is dark, so this leans toward night themes. Astrology and sleep apps are where it fits most naturally.

#2C1654#2C1654Closest: Midnight Blue
#4A1A7C#4A1A7CClosest: Indigo
#7B2FBE#7B2FBEClosest: Royal Purple
#B879F0#B879F0Closest: Lavender
#E4C1F9#E4C1F9Closest: Periwinkle

Dusk palette in use

With #2C1654 as the background, #E4C1F9 handles body text. #B879F0 suits buttons and links, #4A1A7C cards and modals, and #7B2FBE active states.

Dusk
Headline in #2C1654 on #E4C1F9

This pair measures 9.84:1, so it works for body text too. The button uses #7B2FBE with white text.

Button

Good for

Readable color pairs

Pairs from this palette with at least 3:1 contrast (WCAG 2). Use AA and AAA pairs for body text, and AA large pairs for headings 24px and up.

TextBackgroundRatioRating
#2C1654#E4C1F99.84:1AAA
#4A1A7C#E4C1F97.68:1AAA
#2C1654#B879F05.20:1AA
#7B2FBE#E4C1F94.44:1AA large
#4A1A7C#B879F04.06:1AA large

Dusk palette as code

CSS variables

:root {
  --dusk-1: #2C1654;
  --dusk-2: #4A1A7C;
  --dusk-3: #7B2FBE;
  --dusk-4: #B879F0;
  --dusk-5: #E4C1F9;
}

Tailwind v4

@theme {
  --color-dusk-1: #2C1654;
  --color-dusk-2: #4A1A7C;
  --color-dusk-3: #7B2FBE;
  --color-dusk-4: #B879F0;
  --color-dusk-5: #E4C1F9;
}

Tailwind v3

// tailwind.config.js → theme.extend.colors
'dusk': {
  100: '#2C1654',
  200: '#4A1A7C',
  300: '#7B2FBE',
  400: '#B879F0',
  500: '#E4C1F9',
},

SCSS

$dusk-1: #2C1654;
$dusk-2: #4A1A7C;
$dusk-3: #7B2FBE;
$dusk-4: #B879F0;
$dusk-5: #E4C1F9;

JSON

["#2C1654","#4A1A7C","#7B2FBE","#B879F0","#E4C1F9"]

Named colors in this palette

The nearest named color to each swatch, with its meaning and matching colors.

Similar palettes

Browse all 129 palettes