The electoral is racist? LOL! That's a new one. Please, I'm intrigued. Explain this. I'm going to sit back with my coffee and enjoy this one...
You mean other than it was designed to give the slave states disproportionate votes to keep them in the union?
Were you asleep during history class?
As you say, the EC was designed to keep the places where people actually lived from deciding elections. In 1776 that was Philadelphia and New York, where no one owned slaves and they generally thought it was a bad idea to own them. The slave states insisted on provisions to protect their political influence. One was the EC. The other was the instance that the President and VP had to be from different states. Another was the Senate giving equal representation to all states.
(Again, look up Missouri Compromise and Bloody Kansas to see how the Slave States tried to maintain equilibrium in the Senate and EC by imposing slavery on territories that didn't want it.)
Meanwhile, the North, being almost as racist as the South, insisted that slaves only be counted as 3/5 of a free man for congressional and electoral representation.
So the EC really didn't even succeed in its primary goal, which was to keep the slave-rapists mollified enough to stay in the Union. Eventually, they tried to get out.
What it DID do was give us some of the worst presidents in our history.