Liquid compositions containing one or more anionic surfactants in combination with one or more polydiallyl dialkyl ammonium compounds or derivatives or copolymers thereof, these compositions being suitable for the production of liquid laundry detergents, preferably for dye-transfer-inhibiting liquid color-protecting detergents.