The advocates of this system offer the following rejoinder on the constitutionality of this proposal
EVERY VOTE EQUAL: A State-Based Plan For Electing The President By National Popular Vote
They don't address whether it is a federal civil right to have one's electors appointed if they win.
I can't see how the Civil Rights Acts could be met with any other construction, but judges are nothing if not creative.