is your HOA defunct?
I know this may seem like a dumb question but most HOAs you can send them a written request to do something and then they have a time limit to say yes or no... With a defunct HOA, this basically means you have to wait out your request's time and then you have no legal problems with building your 6' fence.
A coworker of mine did exactly this