Look into taking a loan against it instead. Even though you're paying interest, you're also making interest. If the total interest you expect to payback is less than the 30% hit you'll take than this is the better option. You'll get the same amount of money(or more) and it wont cost you as much.
I'm obviously not privy to the details of your situation but if you can make minimum payments on the lowest interest rates and pay off the highest interest rates without having to take money from your 401k that's my recommendation. But everyone's situation is unique so in the end you need to decide what is best for you
edit: nevermind the borrowing you answered that while I was creating my post

