The invention relates to a dye composition for keratin fibers, in particular for human keratin fibers such as the hair, this composition having, in a medium suitable for dyeing, at least one cationic direct dye of given formula, and containing at least one specific cationic or amphoteric substantive polymer. The invention also relates to the dyeing processes and devices using it.