One (imperfect) way to look at it is by looking at per capita homicides by county. Here's California: https://www.countyhealthrankings.org/app/california/2022/mea...
The counties with the highest murder rate in CA are Trinity, Kern, Lake, Del Norte, and San Joaquin. They're about twice as murderous as Alameda (Oakland).
A confounding factor is that smaller counties have a larger margin of error, but the overall trend is still clear. Another confounding factor is that this is by county and not city, but if cities were much worse than their surroundings they'd dominate the per capita metric.