Hello and welcome to Just Answer. My name is ***** ***** I will be happy to assist you with your electrical question.
1) Your wire connections using blk to L, grey to 1, brown to 2, purple to 3 are common on many ceiling fans. However, it sounds like the replacement pull chain switch that you purchased is not identical to the original switch. Pull chain switches may look identical on the exterior, but the interior of the switch may have a different switching pattern and the pull chain won't work correctly as you have already discovered.
Refer to the attachment shown below:
2) If you purchased the replacement switch at Home Depot or Lowe's, a good chance the switch will not work as these stores only sell a very basic pull chain model which may not work on all fans.
3) I recommend that you contact Gulf Fans shown in the link below. Provide them with the model number of the fan and they can provide you with an identical pull chain replacement switch.
If you have any additional questions, just let me know and I’ll be glad to answer them for you.
Otherwise, don’t forget to rate me before you log Off.