The quake, centered about 2 miles southeast of Compton, struck around 12:15 a.m. Sunday. It hit at a depth of nearly 8 miles.
Many people in the area reported feeling the shaking.
There were no reports of any injuries or damage.
How to make your own earthquake kit