Color
#540b98
#540b98rgb(84, 11, 152)hsl(271, 87%, 32%)oklch(0.379 0.195 298.8)Colors that go with #540b98
Royal Blue, Olive Green and Charcoal lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.
Royal Blue #4169e1
analogousshippedRoyal Blue is #540b98's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Olive Green #808000
complementaryOlive Green sits directly opposite #540b98 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight.
Charcoal #36454f
neutralshippedCharcoal is the text near-black for #540b98: softer than #000 and cool enough to feel like part of the same palette.
Denim #1560bd
shippedDenim is paired with #540b98 in 3 real palettes, including Slack's brand system and Google's brand system, as the lead colour — a combination designers have actually shipped, not a computed rotation.
Teal #008080
triadicshippedTeal completes a triad with #540b98 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash.
Sea Green #2e8b57
split-complementSea Green is a split-complement of #540b98: nearly opposite, so it still pops against it, without the vibrating edge of a true complement.
Blue Violet #8a2be2
shippedBlue Violet is paired with #540b98 in two real palettes: Taco Bell's brand system and Twitch's brand system, as the supporting colour — a combination designers have actually shipped, not a computed rotation.
Cornflower Blue #6495ed
shippedCornflower Blue is paired with #540b98 in two real palettes: Peacock's brand system and Blue Mono, as the accent — a combination designers have actually shipped, not a computed rotation.
Real palettes that use #540b98
Tints & shades
Harmonies
Contrast
| #540b98 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 11.18:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 1.88:1 | fail | fail | fail |
Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #540b98 as the background.
Brands using this color
Fonts for this mood
#540b98 reads as cool, vivid, technical. The font library is tagged with the same vocabulary:
Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.
https://mcp.brandsweets.com/colors/mcpclaude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
›analyze #540b98 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/540b98-b59cc4-c7cb62-2c1f2d-eae9f1?lock=0&style=vibrantWant the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: color.md