Also, FWIW, Joel Spolsky pretty famously detailed his company's transparent compensation plan, which took into account both experience and unique skill set.
https://www.joelonsoftware.com/2000/08/30/fog-creek-compensa...
If anything, I think the taboo nature of people’s economic worth and the games played to around it are what’s toxic to society.
How do you sell conspicuous consumption / Veblen goods to people if you can know, for sure, that they're really broke af?
On the other hand if you took Sweden as it currently exists, and put up a real time scoreboard on every office wall with the name and total comp of all employees (or all employees of that particular department, or whatever), you'd have pandemonium--except in workplaces with homogenized, formulaic compensation.
This assumes that employees are a fungible commodity whose price should be set by some efficient market rate, but that's not true at all.
Under the current regime, the setup helps top performers be compensated more highly, without torpedoing morale.
You can fantasize about a world in which the salaries are transparent and everyone has frank conversations like "Yes Jill makes 50% more than you even though you're nominally at the same level. Her compensation reflects her superior contributions to the company." But that's just not how it is.