History has a pesky habit of getting in the way of political ideology. Let's take a stroll down history lane, shall we..?
The Republican Party was founded as an anti-slavery party, all the while facing opposition from the democrats.
The 13th Amendment abolishing slavery passed with 100% republican support and only 23% democrat support.
During the Civil War era, republicans were referred to as "Radical Republicans" because they supported not only freeing the slaves, but endowing them with full citizenship, rights and equality.
The 14th Amendment, granting full citizenship to freed slaves, passed in 1868 with 94% republican support and 0% democrat support. The 15th Amendment, granting voting rights to freed slaves, passed in 1870 with 100% of republicans voting for it and... wait for it... 0% of democrats.
The Civil Rights Act of 1957 was pushed through by republican president Dwight Eisenhower. His primary opponent on civil rights issues prior to 1957 was democrat senator and senate majority leader Lyndon Johnson, but Johnson, who had voted straight segregationist in the past, did an about face and voted for the CRA57. The Civil Rights Act of 1964 was supported higher numbers of republicans than democrats, 80% to 64% in the house and 82% to 69% in the senate. Interestingly enough, the "Dixiecrats" that opposed the CRA64 included Senator Albert Gore, Sr. (D)-Tennessee and Senator Robert Byrd (D)-West Virginia. It should be noted that Byrd was a "former" Grand Dragon in the KKK. Remember all the DEMOCRATS opposing school segregation and George Wallace's famous words: "Segregation today, segregation tomorrow, and segregation forever"...?
Following their defeats in opposing the CRA57 & CRA64' the democrats switched from a tactic of outright racism to one of making as many blacks dependent on democrats in government as possible, which seems to be working because, typically and to their detriment, blacks tend to vote about 90% democrat. 50+ years of democrat programs has created a multi-generational dependency class that fears that republicans will cut off the money train.
Who needs the KKK when you have the democrats..?