Obviously the impact of the later is felt more if a particular grouping by skin colour are poorer, but the problem and solution are different to if the cause of this is directly racism (assuming our aim is justice for all regardless of skin colour; that's certainly my aim).
I'm not personally too concerned with complete wealth equality (I'd probably go for heavily garnishing large wages). For example, in the UK I gather immigrants contribute more to taxes than the average; suggesting they fit in middle-income brackets (not super wealthy, not abjectly poor; on average). Penalising immigrants for succeeding would be harsh, and wouldn't account for the massive biasing of averages for the endemic population through inherited wealth.