Slavery was legal. And the Constitution prohibits making something illegal after it happened. Also, you cannot sue over legal activity. A better lawsuit would be to go after the wrongs committed under Jim Crow, which can be argued as violations of the 14th Amendment. It would get sticky there as well, as many whites who the money would come from were not alive, or even their ancestors were not in this country yet.
It's a mess. I think it might be more efficient to go in the direction of equal liberty, and developing prosperity.