The invention relates to a permanent hair dye prepared from natural plant-derived dyes and enzymes, which consists of the following two components: Agent I (ointment, pH 6-10) and Agent II (powder). Agents Ⅰ and Ⅱ provide dyes and enzymes respectively. After mixing, they form brown to black dendritic polymer precipitates, which can dye hair into brown or black. The permanent hair dye has strong adhesion to hair fibers, natural color and no irritation to skin. Among them, agent II adopts spray-drying microcapsule technology, which effectively solves the problem of poor stability and short shelf life of the enzyme, which is easily affected by environmental factors such as light, heat, oxygen, humidity and pH value due to its active nature. The prepared enzyme powder has good functional properties, stable storage and convenient use. The hair dye of the invention is a permanent hair dye, does not contain aniline toxic substances, is harmless to human body, and does not produce toxic substances to human body during the hair dyeing process, is very safe and has good dyeing effect.