Good Practice
Good Practice
With hundreds of colorschemes available, selecting the right palette is critical—especially when communicating data accurately in scientific, medical, or analytical applications.
Perceptual Uniformity
A perceptually uniform colorscheme is arranged so that equal steps in data values correspond to equal perceived differences in color.
Research in visual perception demonstrates that human vision perceives changes in lightness (luminance) as data differences far more accurately than changes in hue. Consequently, sequential colorschemes with monotonically increasing lightness curves provide the most accurate spatial and quantitative data interpretation.
The CIELAB / Lab Color Space
The Lab color space represents color using three axes:
- L*: Lightness (0 = black, 100 = white)
- a*: Green to Red axis
- b*: Blue to Yellow axis
Plotting lightness $L^*$ across the range $0.0, 1.0$ of a scheme indicates how uniformly steps in data will be perceived.
viridis
Recommended Palettes
Sequential Schemes
Recommended perceptually uniform sequential colormaps with monotonic lightness:
Diverging Schemes
For data centered around a meaningful midpoint (such as zero anomaly or 50% baseline), diverging schemes should exhibit symmetric lightness curves from the center outward to equivalent extremes:
Less Suitable for Quantitative Data
Colormaps with non-monotonic or abrupt changes in lightness (such as classic rainbow maps like jet or decorative palettes like gnuplot or Hiroshige) introduce perceptual artifacts—false gradients, hidden details, or artificially highlighted features—making them unsuitable for quantitative visual analysis:
Academic References
- Peter Kovesi: Good Colour Maps: How to Design Them. arXiv:1509.03700 cs.GR. DOI:10.48550/arXiv.1509.03700
- Liang Zhou & Charles D. Hansen: A Survey of Colormaps in Visualization. IEEE TVCG. PubMed 26513793