Your goal is to find the secret four-color code. The following colors are possible: blue, white, yellow, black, red, purple.
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: ['yellow', 'blue', 'black', 'white']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['blue', 'red', 'white', 'red']. Hint: one color is in the secret code but in the wrong position.
Guess: ['white', 'purple', 'purple', 'blue']. Hint: one color is in the correct position.
Guess: ['red', 'white', 'yellow', 'black']. Hint: one color is in the correct position and two colors are in the secret code but in the wrong position.
A B C D
yellow, purple, red, black red, black, purple, yellow black, red, blue, blue white, blue, purple, red