Methyl 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.