A magnitude 6.7 earthquake hit the coast of north-central Chile on Saturday evening, the US Geological Survey said.