Set the machine to a cold or cool cycle and use a detergent formulated for dark fabrics, since these skip optical brighteners that can dull rich colors. Keeping the load smaller than usual also reduces friction between garments, a common cause of premature fading.