Color
#540c97
#540c97rgb(84, 12, 151)hsl(271, 85%, 32%)oklch(0.378 0.194 299)Colors that go with #540c97
Olive Green, Denim and Royal Blue 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.
Olive Green #808000
complementaryOlive Green sits directly opposite #540c97 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight.
Denim #1560bd
shippedDenim is paired with #540c97 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.
Royal Blue #4169e1
analogousshippedRoyal Blue is #540c97's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Teal #008080
triadicshippedTeal completes a triad with #540c97 — 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 #540c97: nearly opposite, so it still pops against it, without the vibrating edge of a true complement.
Blue Violet #8a2be2
shippedBlue Violet is paired with #540c97 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.
Charcoal #36454f
neutralshippedCharcoal is the text near-black for #540c97: softer than #000 and cool enough to feel like part of the same palette.
Cornflower Blue #6495ed
shippedCornflower Blue is paired with #540c97 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 #540c97
Tints & shades
Harmonies
Contrast
| #540c97 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 11.19: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 #540c97 as the background.
Brands using this color
Fonts for this mood
#540c97 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 #540c97 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/540c97-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