Midnight Galaxy Palette
Deep space with a nebula's worth of color in it, not just black.
#0D0221
near-black void
HSL 261° 89% 7%
20.0:1 on white
#190933
deep space purple
HSL 263° 70% 12%
18.6:1 on white
#6A0DAD
nebula core
HSL 275° 86% 37%
9.2:1 on white
#B026FF
star-glow accent
HSL 278° 100% 58%
4.6:1 on white
#FF61C7
hot pink flare
HSL 321° 100% 69%
2.7:1 on white
Using this palette
Space is not actually black — long-exposure astrophotography shows nebulae full of purple and magenta ionized gas, which is what this palette is trying to reproduce instead of the lazy black-plus-one-star-color version. #0D0221 and #190933 give you enough dark real estate to work with (dark-mode UI backgrounds, hero sections), while #B026FF and #FF61C7 are saturated enough to use as small glowing accents — button states, link hover, icon strokes — without needing to fill large areas. Because the two darkest tones are so close in value, don't rely on them alone to separate content sections; add a hairline border or use one of the brights.