From Latin rāritātem. By surface analysis, raro + -ità.
Practice speaking and memorizing "rarità" and many other words and sentences in Italian.