The name "Myrtle" is a type of evergreen shrub that is often overlooked because of its plainness, native to southern Europe and north Africa. It is also a variety of the color green.
J.K. Rowling got the inspiration for Moaning Myrtle on rumors of frequent presences of a crying girl in communal bathrooms, especially at parties and discos of her youth.