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