How to publish hex values to the MQTT?

How to publish hex values to the MQTT?

I have a hex string sequence: mySeq = "01fa02" to be published as sequence: 0x01 0xFA 0x02.
I am using Python in the Analysis and I don't find a solution, please, How do I do it?