A wrong (from Old English wrang – 'crooked') is an act that is illegal or immoral. Legal wrongs are usually quite clearly defined in the law of a state and/or jurisdiction. They can be divided into civil wrongs and crimes (or criminal offences) in common law countries, while civil law countries tend to have some additional categories, such as contraventions.
Moral wrong is an underlying concept for legal wrong. Some moral wrongs are punishable by law, for example, rape or murder. Other moral wrongs have nothing to do with law. On the other hand, some legal wrongs, such as many types of parking offences, could hardly be classified as moral wrongs.
A violation of law is any act (or, less commonly, failure to act) that fails to abide by existing law. Violations generally include both crimes and civil wrongs. Some acts, such as fraud, can violate both civil and criminal laws. In law, a wrong can be a legal injury, which is any damage resulting from a violation of a legal right. A legal wrong can also imply the state of being contrary to the principles of justice or law. It means that something is contrary to conscience or morality and results in treating others unjustly. If the loss caused by a wrong is minor enough, there is no compensation, which principle is known as de minimis non curat lex. Otherwise, damages apply.
The law of England recognised the concept of a "wrong" before it recognised the distinction between civil wrongs (governed by civil law) and crimes (defined by criminal law), which distinction was developed during the thirteenth century.
Civil law violations usually lead to civil penalties like fines, criminal offenses to more severe punishments.
The severity of the punishment should reflect the severity of the violation (retributive justice). In realistic situations and for minor violations, however, altruistic punishment was shown not 'to fit the crime'. This subdivision is similar to the distinction between misdemeanours, and felonies.
Other examples of violations of law include: