Palette maker

Dusk Colors: Twilight Palettes with Hex Codes

Dusk colors are the warm-to-cool run of the evening sky, from glowing orange through pink and mauve down to deep indigo. The core five are , , , and .

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Sky science
    2. Five colors
    3. Color codes
    4. Dusk vs twilight
    5. CSS gradient
    6. Contrast
    7. Branding, print
    8. Interiors
    9. Pairings
    10. Art
    11. FAQ

    The strip above shows them in order, with copyable codes and a live preview that scores the contrast of any pair. Below you will find the sky science behind the order, exact values, a CSS gradient, WCAG ratios I calculated myself, and notes for print, interiors and fashion.

    What Colors Appear in a Dusk Sky?

    After sunset the sun is below the horizon, but its light still scatters through the atmosphere. Near the horizon, sunlight travels through more air and blue light is scattered away, leaving red and orange. Higher up the sky cools to violet and then blue-black, so the order is always warm at the bottom and cool at the top.

    In a dusk sky, where does the warm orange glow sit?

    Light near the horizon crosses more air, so blue scatters away and orange and red remain.

    Astronomers split the fade into three stages, and each one maps onto part of the palette:

    • Civil twilight, with the sun 0° to 6° below the horizon, is bright enough for normal outdoor activity. This is where Sunset Orange and Dusky Pink live.
    • Nautical twilight runs from 6° to 12° below the horizon, and the sky may turn a deep purple as stars appear. Mauve and Twilight Purple belong here.
    • Astronomical twilight, from 12° to 18°, is when the sky finally looks black. Midnight Indigo is the nearest a screen gets without going fully black.

    Real skies vary. Humidity, dust and pollution can intensify dusk colors, producing vivid reds, oranges and purples. A hazy evening will push your palette hotter and pinker than a clear one.

    The Five Dusk Colors and How They Differ From Close Shades

    Sunset Orange is the last warm light at the horizon. It is a soft apricot, lighter and less saturated than a traffic-cone orange, and it sits right next to peach. If you need something paler, the peach color page shows how far it can go. Dusky Pink is a muted rose with a blue undertone, which separates it from salmon and coral, both of which lean yellow.

    Strip of five dusk color swatches from midnight indigo to sunset orange with hex codes, roles and lookalike shades
    Each dusk color has its own job and differs from its nearest lookalike.

    Mauve is the bridge: a dusty purple with grey in it (saturation only 22%), so it feels calmer and older than lilac, which is lighter and bluer. Twilight Purple is a dim violet that leans toward blue, far from plum or magenta. Midnight Indigo has a hue of 243°, barely past pure blue, so it reads as a navy with a faint violet cast rather than a true purple.

    Dusk Color Codes: HEX, RGB, HSL and CMYK Values

    All values below are calculated directly from the hex codes, ordered from the top of the sky to the horizon.

    Name HEX RGB HSL CMYK
    Midnight Indigo 44, 42, 90 243°, 36%, 26% 51, 53, 0, 65
    Twilight Purple 91, 75, 138 255°, 30%, 42% 34, 46, 0, 46
    Mauve 155, 111, 163 291°, 22%, 54% 5, 32, 0, 36
    Dusky Pink 217, 139, 163 342°, 51%, 70% 0, 36, 25, 15
    Sunset Orange 244, 162, 97 27°, 87%, 67% 0, 34, 60, 4

    HSL is handy for building variants: keep the hue and move lightness by 5 to 8 points for hover and pressed states. The CMYK figures are plain mathematical conversions, not press-ready recipes, so treat them as a starting point for your printer.

    Dusk, Twilight, Sunset and Dawn: Which Is Which?

    Sunset is the moment the sun’s edge disappears. Twilight is the whole fade afterward, and dusk is its darkening end: civil dusk arrives when the sun’s center is 6° below the horizon, ending civil twilight. Dawn runs the same sequence in reverse, and designers tend to render it paler and cooler. For that gentler morning feel, start from the pastel rainbow palette.

    The word “dusk” also causes confusion in named-color lists. The XKCD color survey lists dusk as , a muted slate violet-blue, while another swatch site uses for “Dusk”, a pale peach. One word, two very different colors. This page treats dusk as the whole gradient, so if a brief just says “use dusk”, ask which end of the sky they mean.

    How to Make a Dusk Gradient in CSS

    Put the horizon at the bottom and the darkest color at the top, and space the stops unevenly, because real sky bands are uneven:

    :root {
      --dusk-indigo: #2C2A5A;
      --dusk-purple: #5B4B8A;
      --dusk-mauve: #9B6FA3;
      --dusk-pink: #D98BA3;
      --dusk-orange: #F4A261;
    }
    
    .dusk-sky {
      background: linear-gradient(to top,
        var(--dusk-orange) 0%,
        var(--dusk-pink) 28%,
        var(--dusk-mauve) 52%,
        var(--dusk-purple) 76%,
        var(--dusk-indigo) 100%);
    }

    Keep the orange band short. A narrow bright strip looks more like a real horizon than an even five-way split. On large, dark gradients, 8-bit color can show visible banding, and I fix it by laying a very faint noise texture over the top. Custom properties mean a theme change touches one place only.

    Dusk Colors in UI Design: Contrast and WCAG Checks

    Ratios that pass

    WCAG asks for 4.5:1 for normal text, 3:1 for large text and interface components, and 7:1 for the stricter AAA level. These ratios are calculated from the exact hex values:

    • White on Midnight Indigo: about 13.2:1 (AAA)
    • White on Twilight Purple: about 7.4:1 (AAA)
    • Sunset Orange on Midnight Indigo: about 6.4:1 (AA)
    • Dusky Pink on Midnight Indigo: about 5.2:1 (AA)
    • Mauve on Midnight Indigo: about 3.3:1 (large text and components only)
    • White on Mauve: about 4.0:1 (fails for body text)

    Fixing the mauve problem

    On a meditation app I once used mauve as a button fill with white labels. It looked right and measured 4.0:1, just short of 4.5:1. Switching the fill to Twilight Purple raised it to about 7.4:1 and kept the palette intact. The mauve moved to icons and illustrations, where the rule is looser.

    Which pairing passes WCAG AA for normal body text?

    White on #5B4B8A measures about 7.4:1, while white on mauve is only about 4.0:1.

    Never set orange text on white: Sunset Orange against white is only about 2.1:1. Use it as a fill, a highlight or a glow on dark surfaces instead. For neutral body text and borders, the steps in the grayscale color palette are an easy way to stay consistent.

    Seven-step mauve ladder from light tint to dark shade with hex codes, text contrast ratios and the dark-to-white text flip
    Mauve is where text must flip: dark text barely passes, and one darker step makes white text safe.

    Using Dusk Colors for Branding and Print

    Dusk palettes suit brands that want an evening, romantic or premium mood: candles, spirits, wellness apps, boutique hotels, wedding stationery. A workable split is Midnight Indigo as the dominant 60%, Twilight Purple or Mauve as 30%, and Sunset Orange as a 10% accent, with Dusky Pink in supporting graphics.

    Print is where dusk colors surprise people. On a candle label proof, the mauve came back greyer than on my monitor and the indigo nearly merged with black text on uncoated stock. We lifted the indigo slightly and added a thin light keyline, and the next proof matched what the client expected.

    Print check

    Order a physical proof of the indigo and mauve on your real paper. Deep, low-saturation purples shift the most between screen and press.

    Dusk Colors in Interiors and Fashion

    Deep colors absorb light, so a room in Twilight Purple looks darker at night than the swatch suggests. Test a sample patch and view it under your evening bulbs: warm bulbs make mauve and pink glow, cool ones push them toward grey. A single indigo wall with mauve textiles and a pink or orange lamp glow is a reliable bedroom scheme.

    In fashion, Midnight Indigo works as a softer alternative to black, and tonal outfits that step from mauve to dusky pink look deliberate rather than matchy. A touch of Sunset Orange in a scarf or bag adds the horizon glow. Pink, orange and purple together also carry a retro feel, which the 70s color palette explores in more depth.

    Colors That Pair Well With Dusk Shades

    Orange has a natural partner in teal. A small amount of Lagoon Teal against Sunset Orange and Midnight Indigo gives a livelier, more modern result, and the teal and orange palette lists many more combinations. For light neutrals, use warm off-white rather than pure white, which can feel harsh against indigo.

    Civil Twilight

    Warm gradient for hero banners, posters and wedding stationery

    Blue Hour

    Cool, quiet scheme for dark mode dashboards and sleep or meditation apps

    Plum Evening

    Interiors, textiles and boutique branding with a soft, romantic mood

    Dusk and Teal

    Contrast-driven palette for apps and posters where orange needs a cool partner

    If you want a tighter, two-hue scheme, the dark and pink ends of this palette are close to a classic pairing, covered on the navy and pink page. Keep mauve as the quiet middle so the eye moves from the dark top to the warm accent.

    Try this: Photograph the sky 20 minutes after sunset, then sample five points from the horizon upward in a color picker. Compare them with the five dusk colors and note which of your samples is greyer.

    Painting and Photographing Dusk Light

    Painters get the best dusk by never mixing indigo with black. Blend blue with a little red or brown instead, so the shadows stay colorful, and keep the pink-to-orange band narrow so it glows against the cooler sky. Warm and cool contrast is what sells the mood, more than any single hue.

    Photographers favor civil twilight: diffused light and varied sky colors make it ideal for portrait and landscape photography. For more on the light source itself, see sun colors, and for the silvery tones that take over once the moon is up, see moon colors.

    Every color in this palette

    Dusk Colors: questions people ask

    What color is dusk?

    Dusk is a sequence rather than one color: orange and pink near the horizon, then mauve and purple, then deep indigo overhead. If you need a single swatch, Midnight Indigo #2C2A5A or Twilight Purple #5B4B8A are the usual picks.

    What is the hex code for dusk?

    There is no official one. This page uses #2C2A5A, #5B4B8A, #9B6FA3, #D98BA3 and #F4A261 as a five-step dusk palette, while some color name lists define "dusk" as the slate violet-blue #4E5481.

    What is the difference between dusk and twilight?

    Twilight is the whole fade between sunset and full darkness. Dusk is the darker, later part of it, the point where the evening light is nearly gone.

    What colors go well with dusk colors?

    Warm off-white #F6EDE6 and a soft silver-grey keep things calm, while a teal such as #2A9D8F makes the orange pop. Navy with pink and peach with plum also work.

    Can I use white text on dusk purple?

    Yes on the darker steps. White on Midnight Indigo is about 13.2:1 and on Twilight Purple about 7.4:1, both above the WCAG AA minimum of 4.5:1. White on Mauve is only about 4.0:1, so keep it for large text or decoration.

    Keep exploring