https://kayreincolor.files.wordpress.com/2012/10/color-wheel-interpretation.jpg
https://nelldart.files.wordpress.com/2012/03/simultaneous-contrast-2-small-web1.gif
Same color has different appearance of value on the top of different backgrounds. They gave us a illusion of when it on the top of a bright layer, it looks it has a lower value. But when it on the top of a darker layer, it looks it has a higher value. This phenomenon is called simultaneous contrast. Two images above are the examples of it. Do you see the difference between the colors?