You want to dye clothes and textiles? Ideally, you shouldn’t do this in the washing machine. Cleaning the washing machine after dyeing is usually very difficult and unattractive dye residues can often remain in the draw or on worn rubber parts. That way, you’ll be safe.
If you really have no other option than use the washing machine for dyeing, wash, for example, cleaning cloths at a high temperature with plenty of detergent in the next wash cycle. In this way, dye residues in the washing machine can be absorbed as well as possible.