The programs—all of which are publicly funded—violate both the United States and the California state constitution, lawyers say, as well as civil rights laws that ban race discrimination in contracting and by the recipients of government funds.