I’d guess you’re in the neighborhood of $5k or so for an OEM-like finish, although there are plenty of limitations that go along with that. You’ll never get a factory-like finish on a car that is already put together. Door sills, panel transitions, body to glass edges, under the hood, under the lift gate, etc etc etc… unless you painstakingly dismantle and mask off basically the entire car, it will never look factory. Lots of downsides to repainting a car - color won’t match the VIN, people will forever be suspect as to why it was repainted, diminished value, etc.
Finally, I’m having a hard time fathoming why one would go through the considerable expense and headache just to repaint a car in one of the other five colors that every other Tesla on the road is already painted in? If you want one that color, you should buy one that color. You’ll almost certainly come out ahead.