If there are times when violence may be used to end injustice, what circumstances must exist to use satyagraha to end an unjust law?

A shared notion of the good life is needed to turn the cards down. This could take the form of a belief that victimization based on racial difference is wrong.