Template:Short descriptionMethyl violet is a family of organic compounds that are mainly used as dyes. Depending on the number of attached methyl groups, the color of the dye can be altered. Its main use is as a purple dye for textiles and to give deep violet colors in paint and ink. It is also used as a hydration indicator for silica gel. Methyl violet 10B is also known as crystal violet (and many other names) and has medical uses.<ref name="pyoctanin_Gorgas" />
The term methyl violet encompasses three compounds that differ in the number of methyl groups attached to the aminefunctional group. Methyl violets are mixtures of tetramethyl (2B), pentamethyl (6B) and hexamethyl (10B) pararosanilins.<ref>Template:Cite journal</ref>
Methyl violet 2B (IUPAC name: 4,4′-((4-Iminocyclohexa-2,5-dien-1-ylidene)methylene)bis(N,N-dimethylaniline) monohydrochloride) is a green powder which is soluble in water and ethanol but not in xylene. It appears yellow in solution of low pH (approximately 0.15) and changes to violet with pH increasing toward 3.2.<ref name=b1>Template:Cite book</ref>
Methyl violet is a mutagen and mitotic poison, therefore concerns exist regarding the ecological impact of the release of methyl violet into the environment. Methyl violet has been used in vast quantities for textile and paper dyeing, and 15% of such dyes produced worldwide are released to environment in wastewater. Numerous methods have been developed to treat methyl violet pollution. The three most prominent are chemical bleaching, biodegradation, and photodegradation.
Biodegradation has been well investigated because of its relevance to sewage plants with specialized microorganisms. Two microorganisms that have been studied in depth are the white rot fungus and the bacterium Nocardia corallina.<ref>Template:Cite journal
</ref><ref>Template:Cite journal</ref>
Many other methods have been developed to treat the contamination of dyes in a solution, including electrochemical degradation,<ref>Template:Cite journal</ref> ion exchange,<ref>Template:Cite journal</ref> laser degradation, and absorption onto various solids such as activated charcoal.