Democrats love to pretend to be the party of diversity and civil rights. It’s not uncommon to see comments like this or this. Unfortunately, these comments are just not supported by historical facts.
As a matter of fact, the record shows that since 1933 Republicans had a more positive record on civil rights than the Democrats.
In the 26 major civil rights votes after 1933, a majority of Democrats opposed civil rights legislation in over 80 percent of the votes. By contrast, the Republican majority favored civil rights in over 96 percent of the votes.
If you prefer a month by month pictorial education, you might visit here.