Viridis
Summary
Viridis is a sequential colormap from matplotlib. Lightness rises monotonically from 0.29 to 0.92, hue sweeps 216° from magenta to chartreuse, and lightness stays monotonic under all three colorblind…
matplotlib default sequential colormap. Sourced from matplotlib _cm_listed.py.
Perceptual profile (OKLCh)
- Lightness: 0.285 → 0.918 (range 0.633, min 0.285, max 0.918); monotonic; midpoint 0.593
- Chroma: min 0.082, max 0.194, mean 0.133
- Hue: 318.1° → 102.0° (span 216.1°), path monotonic-ccw; quadrants: magenta, violet, blue, azure, cyan, mint, green, chartreuse
- Endpoint temperature: cool → warm
- Perceptual ΔE: total 120.5, mean/step 0.473, max step 0.581, smoothness 0.851, speed 0.473
Colorblind safety (ΔE under simulated CVD)
- Protanopia: uniformity 0.65; ΔE total 91.9; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 2.2
- Deuteranopia: uniformity 0.65; ΔE total 90.5; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 3.4
- Tritanopia: uniformity 0.37; ΔE total 124.6; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 3.4
Use cases
- Recommended for Generic sequential magnitude: matplotlib's default sequential map; monotonic lightness and order preserved under all three CVD simulations.
Data and citation
- Color stops (JSON, hex sRGB): /data/colormaps/matplotlib.viridis.json
- License: matplotlib (BSD-derived) (https://matplotlib.org/stable/project/license.html)
Related
- Family: matplotlib
- Source: Smith & van der Walt 2015 (matplotlib)
- Similar sequential maps: AFM Hot, Bone, BRG, Cividis, Copper, Cubehelix, Gist Earth, Gist NCAR
- All colormaps