Sexual harassment is a form of sex discrimination that violates Title VII of the Civil Rights Act of 1964. Civil Rights Act of 1964, Title VII Prohibits employment discrimination on the basis of sex.And finally, Title VII of the Civil Rights Act of 1964 prohibits discrimination based on race, color, national origin, religion, and sex. It banned discriminatory practices in employment and ended segregation in public places such as swimming pools, libraries, and public schools. Title VII forbids discrimination in employment based on race, color, religion, sex, or national origin, with some limited exceptions. Under federal law, Title VII of the Civil Rights Act of 1964 protects employees from discrimination on the basis of race, religion, gender, and national origin. Title VII of the Civil Rights Act of 1964 prohibits employment discrimination based on religion.