Colorgorical is an alternative to ColorBrewer with a few different options for creating color tables. For example, you can add a couple specific colors that should be in the color table and let Colorgorical figure out the others which maximizes the perceptual difference between the colors. Colorgorical seems particularly well suited to generating qualitative color tables, e.g., to find sufficiently different colors for each line in a plot.

via FlowingData