You could try clarifying it a bit - I put it in a slow cooker full of water and let it melt, then I turn the slow cooker off and let it cool - the debris and detritus will either sink to the bottom of the water or be on the underside of the wax, with the nice yellow stuff on the top. You can then take the wax ‘cake’ out the slow cooker and scrape the grimy stuff off the bottom, repeat as necessary.
Only use the slow cooker on low though, you don’t want to actually boil it.
Do it outside!
Some wax is darker than others, particularly the brood wax. Cappings from the honey supers is the cleanest - I will save you some next year if you want?