1.
illegal; unlawful; against the law
Not permitted by law; in violation of legal rules or regulations.
違法駐車はやめてください。
Please do not park illegally.
これは違法な行為だ。
This is an illegal act.
違法改造した車で捕まった。
He was caught with an illegally modified car.
違法 indicates something that violates the law. It functions as both a noun and a na-adjective: 違法な行為 (an illegal act), 違法だ (it is illegal).
COMMON COLLOCATIONS:
- 違法駐車: illegal parking
- 違法行為: illegal act
- 違法改造: illegal modification
- 違法{コピー}: illegal copy, piracy
- 違法薬物: illegal drugs
- 違法に: illegally (adverbial)
CONTRAST:
- 合法: legal, lawful (direct opposite)
- 不法: unlawful, illegal (similar meaning, often used in 不法侵入 "trespassing")
REGISTER:
Formal. Common in legal, news, and official contexts.