Estás rompiendo la ley.

English Translation

You’re breaking the law.

According to Google Ngrams, “violar la ley” seems to be the most common idiom, unless I’ve overlooked something obvious.