This hat can be won with tickets at Gameworks arcades in 2009. It's actually quite a quality hat, as you can see here with the entire design done in embroidery! That's unusual for a prize-item and makes it especially good looking and sturdy. (A good use of tickets!)
Sonic has a nice dynamic pose and is positioned on the top as well as the bill of the cap for added interest. The back adjuster-strap just has "Gameworks" written on it. Usually you're forced to win it, but sometimes you can buy it.