Its never OK to hit someone period. Even though self defense can justify it to an extent, you still shouldn't be proud of nor happy about of what you did.
Even worse are those whom beat their wifes, it's utterly disgusting and just plain not cool. I'm serious here, I don't care what other things you've done, that's just low.