Your goal is to find the secret four-color code. The following colors are possible: white, red, yellow, blue, purple, black.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['red', 'blue', 'yellow', 'white']. Hint: two colors are in the correct positions.
Guess: ['white', 'white', 'yellow', 'yellow']. Hint: one color is in the secret code but in the wrong position.
Guess: ['red', 'purple', 'black', 'purple']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['purple', 'blue', 'purple', 'white']. Hint: three colors are in the correct positions.
A B C D
black, black, white, yellow black, blue, purple, white blue, red, blue, blue black, white, purple, red