As some have already said, a dirty powder can cause excessive fouling and could compromise accuracy. If you are shooting a match and the gun becomes dirty enough it could cause a failure and that's not good when shooting a match. Even if you're only shooting at the range who wants to get soot all over everything?
I try to use a powder that will achieve the velocity I'm looking for and will do so up near the top of the pressure range. No matter how clean a powder is it will be even cleaner at the higher end of the pressure range. That's why I use so many handgun powders. Even Unique which is considered a "dirty" powder will clean up considerably when the pressure is right.
I currently have and use these handgun powders:
W231/HP-38, W296/H110, W540/HS-6, Lil'Gun, Trail Boss, AA#5, and Power Pistol, sometimes Clays and 2400 too.
And have used these handgun powders at one time or another:
Universal Clays, HS-5, W571/HS-7, 4227, AutoComp, AA#2, AA#9, Unique, Red Dot, Green Dot, Herco, Zip and True Blue.
If need be I could do all my handgun reloading with my "Powder Trinity" of W231(HP-38), W540(HS-6) and W296(H110).