Yes, you can wear black on Eid. As it remains a classy and versatile choice for formal attire