The modern serious tone has a ceremonial background.
Latin sollemnis concerned established or ceremonial observance. It reached Middle English through French, with spellings including solempne, before modern solemn.
The French stage is omitted. The medieval p is a spelling feature in these cards, not a claim about every speaker’s pronunciation.
Source
Merriam-Webster: solemnSelected historical forms, oldest first: Latin sollemnis → Middle English solempne → English solemn. Each form is in the ancestry rather than merely a listed cognate. Selected glosses: sollemnis: Established or ceremonial; solempne: Solemn or ceremonious; solemn: Serious or ceremonious.