LOL what you mean by compatablity it completely. RX 590 will work fine.
Are you building your first computer?
If you are I suggest understand that any Nividia or amd card will work with That cpu long as it PCIe slotted. 5600x would be more at home with a 2070 or 5700xt or better.
It all really a matter what you want computer to do at the end of the day like gaming the rx 590 is a mid low range card. If your going for a budget gaming machine it not a bad choice for it given price point.
What is your end game!! Gaming like what what are you planning on playing. How detailed you want it?