Explanation:
It might seem like a compliment, the Duke is essentially saying that if virtue is beauty, then Othello is beautiful, not black; suggesting black is ugly.
The Duke might not have meant to be prejudicial, his words left an fundamental tone.