<p>A method for preparing a polymerizable monomer-dye compound is provided in which a monomer, a reactive dye, and base are combined under substantially anhydrous reaction conditions to form the polymerizable monomer-dye compound, wherein the monomer comprises a pendant reactive group that covalently links to the reactive dye to form the monomer-dye compound.</p>