Turning a palette into a scheme
Give each color a job. One dark color becomes text, one light color becomes the background, and the loudest colors become accents for buttons and links. A classic web split is 60% background, 30% text and surfaces, 10% accent.