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