An earthquake of magnitude 6 struck near the coast of northern Chile, the GFZ German Research Center for Geosciences said on Sunday. The quake was at a depth of 105 km (65 miles), it said.