The invention relates to a formula of a compound active dye used for household textile fabrics, and belongs to the technical field of textile printing and dyeing. The formula of the compound active dye comprises, by weight, 50-70 parts of a difluorochloropyrimidine dye, 20-30 parts of a triarylmethane dye, 10-20 parts of a nitroso dye, 60-75 parts of a vinyl sulfone dye, 5-15 parts of Rubia cordifolia plant dye extract, 15-25 parts of a heptamethine cyanine dye, 2-8 parts of sodium thiosulfate, 5-15 parts of sodium chloride, 10-15 parts of disodium hydrogen phosphate, 25-35 parts of sodium dihydrogen phosphate, 5-15 parts of sodium hydroxide, 5-15 parts of sodium carbonate, 20-30 parts of urea, 10-20 parts of 2-(2'-hydroxy-3'-tert-butyl-5'-methylphenyl)-5-chlorobenzotriazole and 5-15 parts of carbon nanotubes. The active dye has excellent fastness, excellent wet fastness, bright color, excellent performances and strong applicability, the hue and the performances of the active dye can meet the fiber and clothing requirements in the market, the addition of the 2-(2'-hydroxy-3'-tert-butyl-5'-methylphenyl)-5-chlorobenzotriazole improves the anti-ultraviolet property of the active dye, and the presence of the carbon nanotubes improves the antistatic performance of the active dye.