el trasfondo

masculine noun

background, underlying context, undertone

"Esa broma tiene un trasfondo triste."

That joke has a sad undertone.