Violets are edible, but not all species are safe to eat, such as African violets. Common blue violets are what I'm working with and are common in many areas. Some contain compounds that are toxic if ingested in large quantities.