Driving a high power (200mA) LED with a GPIO and NPN transistor
With those value resistors, you need a transistor with at least 25 hfe, and more than 275mA collector current. ~6v / 22Ω = 0.272A (272mA) of current through the LED, and (3.3v - 0.6v) / 330Ω = 0.0081A (8.1mA) of current through the base.

A common 2n2222 transistor would work. Otherwise, you got it right. Also, you might want to go with the actual 30Ω or higher value resistor, to prevent overdriving the led.