Violation: Related to performing an action which is not permitted by law. If used in connection with rights, it usually refers to rights granted by statute.
Infringement: Usually refers to acting inconsistently with someone's rights, most typically in the context of IP law.