I'm willing to go with those definitions. This is in a way a matter of semantics. But more specifically, what is "legal" is not necessarily moral or ethical.
Moral, and to a lesser extent ethical, covers a much wider range of behavior than legal does, mostly because the law follows morality, rather than the other way around. People make laws against behavior that they consider immoral, but they don't always feel that immorality necessarily requires legal correction.
Lying to your spouse, for example, is certainly immoral. It's not generally illegal, though.