The laws don't only apply to hiring (although I believe that, yes, there's still discrimination going on at the margins). They also apply to salaries, promotions, workplace policies etc.
I didn't mention any laws. That said, I think the general assumption that racism must be the reason for unequal outcomes might not be based on reality in many cases.