Twilight
Summary
Twilight is a cyclic colormap from matplotlib. Lightness spans 0.25–0.89, hue sweeps 192° from azure to orange, and lightness turns more than once under protan simulation.
matplotlib default cyclic colormap.
Perceptual profile (OKLCh)
- Lightness: 0.895 → 0.894 (range 0.646, min 0.249, max 0.895); non-monotonic; midpoint 0.249
- Chroma: min 0.008, max 0.158, mean 0.089
- Hue: 324.0° → 325.7° (span 192.4°), path monotonic-cw; quadrants: azure, blue, violet, magenta, rose, red, orange
- Endpoint temperature: neutral → neutral
- Perceptual ΔE: total 179.1, mean/step 0.702, max step 0.875, smoothness 0.841, speed 0.702
Colorblind safety (ΔE under simulated CVD)
- Protanopia: uniformity 0.66; ΔE total 158.9; lightness monotonic: no; turns at most once: no; weakest sixteenth ΔE 2.6
- Deuteranopia: uniformity 0.71; ΔE total 157.2; lightness monotonic: no; turns at most once: yes; weakest sixteenth ΔE 4.1
- Tritanopia: uniformity 0.70; ΔE total 180.3; lightness monotonic: no; turns at most once: yes; weakest sixteenth ΔE 5.9
Use cases
- Recommended for Phase, direction and time of day: matplotlib's default cyclic map; both ends sit at the same light value (lightness 0.89).
Data and citation
- Color stops (JSON, hex sRGB): /data/colormaps/matplotlib.twilight.json
- License: matplotlib (BSD-derived) (https://matplotlib.org/stable/project/license.html)