That's because back in the 60s, the democratic and republican parties were the exact opposite of what they are today.
The democratic party used to be known as "the white men's party".
Most people are taken aback when finding out that the political party that has fought the most for civil rights, middle class America is the republican party.