It's a tough tightrope, honestly. Some writers just slap a hopeful ending onto a grim narrative, and it feels hollow, like a last-minute bandage on a story that's bled out. The ones that nail it, though, build that glimmer into the fabric of the whole thing. Like, the world is bleak, the characters are battered, but their core reasons for fighting—love, a sliver of justice, just pure stubborn survival—are never fully extinguished. You see it in something like V.E. Schwab's 'Shades of Magic' series. It gets brutal, people die, the cost is real, but the hope is baked into the relationships and the small acts of defiance.
A cheap trick I can't stand is the sudden deus ex machina where an outside force fixes everything. Real balance means the characters earn their shred of light, often at great personal cost. The hopeful ending isn't about everything being perfect; it's about them choosing to rebuild in the ashes. The darkness feels meaningful because it's contrasted against something fragile but fiercely protected. It leaves me feeling wrung out but not hopeless, which is a rare and specific kind of satisfaction.
That contrast is everything. Without the deep shadows, the light wouldn't feel so desperately needed.