levity : the treatment of a serious matter with humour or lack of due respect.
seriousness : the quality or state of being serious.
solemnity : the state or quality of being serious and dignified.
religiosity : strong religious feeling or belief.
gravity : extreme importance; seriousness.
Antonym of levity is gravity