How do I change the color in a well without the old color tinting the new one?

Wipe out the old color first. Add a few drops of water to the well, let it soften for a minute, then wipe it with a damp cloth or brush and let it dry before adding the new paint. A tiny tint of the old color is normal on a wooden palette and won’t affect your painting.