Colour I associate with wrongdoing (6)
I believe the answer is:
indigo
'colour' is the definition.
(I know that indigo is a type of dye)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for indigo that I've seen before include "Ellington's Mood" , "type of dye" , "Dark blue dye (plant)" , "Blue-violet colour" , "Blue-purple colour in spectrum" .)