The U.S. Geological Survey said the temblor occurred at 5:28 a.m. PST at a depth of 3.7 miles.
The epicenter was 22 miles from Paso Robles and 124 miles from San Jose City Hall, the Los Angeles Times reported.
There were no reports of injuries or damage.
Hearst Castle, the former mansion of newspaper magnate William Randolph Hearst, is a U.S. National and California Historical Landmark.
Police: Sword-wielding man demanded free tacos
Campus cop fatally shoots Texas student during traffic stop