The Swedish term "laglighet" matches the English term "legality"

other swedish words that include "laglighet" : english :
olaglighet illegality
laglighet legitimacy