Current from I/O PIN

the current on the base is less then 1mA

In fact it is a lot less than 1mA it is 0.26mA.
Remember at 3V3 the 0.7V base emitter drop is a lot more significant. So you use the voltage across the base resistor of 3.3 - 0.7 = 2.6V for your calculations.
You can afford that base resistor to be down at 1K and still be within the limit.
I would use 4K7 - (0.5mA) force of habit really.