Colour tool
Colour Palette Builder
Start from one brand hue and get four classic harmonies plus ten-step tint and shade ramps — every value shown as hex, ready to copy.
Inputs
Harmonies
Tints & shades
How to use it
- Set your base colour — usually the main brand hue you cannot change.
- Compare the four harmony rows. Each gives a different emotional temperature from the same starting point.
- Take tints for backgrounds and hover states, shades for text, borders and pressed states.
- Check every text/background pair you intend to ship with the Contrast Checker — harmony maths knows nothing about readability.
How it is calculated
Harmonies are hue rotations on the HSL cylinder. Saturation and lightness are inherited from the base colour, which keeps the set feeling related.
complementary H + 180 triadic H + 120 and H + 240 analogous H − spread and H + spread split-complementary H + 150 and H + 210 tint toward white L' = L + (1 − L) × t shade toward black L' = L × (1 − t) t = step / steps
Worked example
With base #4f46e5 (hue ≈ 243°): complementary lands near #e5ac4f, a warm amber that makes a reliable call-to-action against an indigo interface. The 10% tint becomes a pale panel background, the 60% shade becomes body text on light backgrounds.
Set the analogous spread to 15° instead of 30° when you need neighbouring colours inside one illustration — a 30° start usually separates more than you want.
Where this works, and where it does not
HSL rotation produces dependable starting points for brand extensions, dashboards, charts and illustration sets. Because it is deterministic, it also documents well in a style guide.
It will not respect brand rules that forbid certain combinations, and it does not model CMYK gamut loss for print. #4f46e5 on screen has no clean offset equivalent — always soft-proof critical print work. For perceptually even palettes, look at OKLCH-based tools and verify the resulting hex values here.
Colour maths uses the CSS Color 3 HSL definition for compatibility with what browsers render from hsl().