Black is a timeless shade for any outfit on any occasion. However, some prefer not to wear black on joyous occasions, while others do not mind it at all.
As Diwali is mostly celebrated in the evenings, black can be a suitable colour choice as it would enhance your look in the late hours of the night.