A detergent or cleaning agent, containing a dye transfer inhibitor in the form of a polycarbonate-, polyurethane- and/or polyurea-polyorganosiloxane compound containing at least one structural element of formula: -Y-A-(C=O)-A- where each A is selected, independently, from S, O and NR 1, Y is selected from divalent to polyvalent, in particular tetravalent, straight-chain, cyclic or branched, saturated, unsaturated or aromatic, substituted or unsubstituted hydrocarbon radicals with up to 1000 carbon atoms (not counting the carbon atoms of a polyorganosiloxane unit that is optionally also present); which may contain one or more groups selected from -O-, - -, -NH-, -NR 2 -, -(N + R 2 R 3)- and a polyorganosiloxane unit with 2 to 1000 silicon atoms, R 1 is hydrogen or a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 40 carbon atoms, which may contain one or more groups selected from -O-, - -, -NH- and -NR 2 -, R 2 is a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 40 carbon atoms, which may contain one or more groups selected from -O-, - - and -NH-, R 3 is a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 100 carbon atoms, which may contain one or more groups selected from -O-, - - and -NH- or is a divalent radical, which forms cyclic structures within the radical Y, or one or both radicals A vicinal to Y together with the radical Y between them may form a heterocyclic radical containing nitrogen, and in the entire compound, not all the radicals A or Y or R 1 or R 2 or R 3 indicated in formula must be the same, with the provision that at least one of the radicals Y in the entire compound comprises a polyorganosiloxane unit with 2 to 1000 silicon atoms, and at least one of the Y units according to the structural element of formula has a group -NR 2 - and/or at least one of the Y units according to the structural element of formula has a group -(N + R 2 R 3)- and that oligoethyleneimine groups with degrees of oligomerisation of up to 150000 are present in at least one of the units Y, R 1, R 2 and/or R 3, or their acid addition compound and/or salt, in addition to the usual ingredients compatible with this component. where each A is selected, independently, from S, O and NR 1, Y is selected from divalent to polyvalent, in particular tetravalent, straight-chain, cyclic or branched, saturated, unsaturated or aromatic, substituted or unsubstituted hydrocarbon radicals with up to 1000 carbon atoms (not counting the carbon atoms of a polyorganosiloxane unit that is optionally also present); which may contain one or more groups selected from -O-, - -, -NH-, -NR 2 -, -(N + R 2 R 3)- and a polyorganosiloxane unit with 2 to 1000 silicon atoms, R 1 is hydrogen or a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 40 carbon atoms, which may contain one or more groups selected from -O-, - -, -NH- and -NR 2 -, R 2 is a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 40 carbon atoms, which may contain one or more groups selected from -O-, - - and -NH-, R 3 is a straight-chain, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical with up to 100 carbon atoms, which may contain one or more groups selected from -O-, - - and -NH- or is a divalent radical, which forms cyclic structures within the radical Y,