Can dog eat purple potato?

Well it won`t hurt them but they can make the dog fat over time,so please feed the dog just dog food.There are good kinds of dog food that have potatoes in it.