# #540aa9

A color — cool, vivid, technical, modern. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#540aa9`
- RGB: rgb(84, 10, 169)
- HSL: hsl(268, 89%, 35%)
- OKLCH: oklch(0.396 0.211 294.2)
- Relative luminance: 0.0497
- Nearest named color: Intergalactic Settlement (#5b1e8b, Δ 5.598) — https://brandsweets.com/colors/intergalactic-settlement
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/540aa9

## Tints & shades

- Tints (toward white): #620cc6, #730de7, #8321f2, #933ef4, #a660f6, #b67df7, #c69af9, #d6b7fb, #e9d8fd, #faf5fe
- Shades (toward black): #4d099a, #46088c, #3e077d, #37066f, #300660, #26044d, #1f043f, #180330, #110222, #0a0113

## Harmonies

- Complementary: #5fa90a
- Analogous: #0a0fa9, #a30aa9
- Triadic: #a9540a, #0aa954
- Split-complementary: #a9a30a, #0fa90a
- Tetradic: #a90a0f, #5fa90a, #0aa9a3

## Colors that go with #540aa9

Named partners (harmony on the OKLCH wheel, co-occurrence in curated palettes and brand systems, and the neutrals that carry it), best first:

- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #540aa9's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Wayfair (https://brandsweets.com/colors/brands/wayfair-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #540aa9 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive
- **Denim** #1560bd [pool] — Designers have shipped Denim with #540aa9: 3 real palettes, including Slack's brand system and Unilever's brand system, as the lead colour. Seen in: Slack (https://brandsweets.com/colors/brands/slack-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com). — https://brandsweets.com/colors/denim
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #540aa9 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Gemstone (https://brandsweets.com/palettes/vivid#gemstone), Sapphire & Gold (https://brandsweets.com/palettes/luxury#sapphire-and-gold). — https://brandsweets.com/colors/teal
- **Forest Green** #228b22 [harmony: split] — Forest Green is a split-complement of #540aa9: nearly opposite, so it still pops against it, without the vibrating edge of a true complement. — https://brandsweets.com/colors/forestgreen
- **Blue** #0000ff [pool] — Two real palettes: Zillow's brand system and Procter & Gamble's brand system put Blue beside #540aa9, as the lead colour. Seen in: Zillow (https://brandsweets.com/colors/brands/zillow-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com). — https://brandsweets.com/colors/blue
- **Blue Violet** #8a2be2 [pool] — Blue Violet is paired with #540aa9 in two real palettes: Taco Bell's brand system and Twitch's brand system, as the supporting colour. Seen in: Taco Bell (https://brandsweets.com/colors/brands/tacobell-com), Twitch (https://brandsweets.com/colors/brands/twitch-tv). — https://brandsweets.com/colors/blueviolet
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #540aa9: softer than #000 and cool enough to feel like part of the same palette. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com). — https://brandsweets.com/colors/charcoal

## Contrast (WCAG 2.x, as text)

- On white (#ffffff): 10.54:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.99:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #9848f4 (4.57:1); AA: background → #ababab (4.59:1); AAA: text → #b67df7 (7.27:1); AAA: background → #d4d4d4 (7.11:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/540aa9-b39cc4-dfdc4e-2c1f2d-e9eaf1?lock=0&style=vibrant
(Humans lock/regenerate in the tool; the URL is the state — read `lock=` back to see what they kept.)

## Connect an agent

Point any MCP client at the BrandSweets colors endpoint for the same engine:

- Endpoint: https://mcp.brandsweets.com/colors/mcp
- Tools: `analyze_color` (e.g. `analyze_color({ color: "#540aa9" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
