Section 242 of Title 18 makes it a crime for a person acting under color of any law to willfully deprive a person of a right or privilege protected by the Constitution or laws of the United States.
https://www.justice.gov/crt/deprivation-rights-under-color-law