A standard web practice

This is a standard behavior standardized by Google and inherited by older HTML practices. Unvisited links being blue, and visited links being purple. 

Of course, this should be adjusted to match your brand colors.

EXAMPLES