Color

#540fa9

#540fa9
hex#540fa9
rgbrgb(84, 15, 169)
hslhsl(267, 84%, 36%)
oklchoklch(0.398 0.209 293.9)
Closest name: Intergalactic Settlement (#5b1e8b)Relative luminance 0.0509

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#64a90f

#0f16a9 · #a10fa9

#a9540f · #0fa954

Split-complementary

Open in tool →

#a9a10f · #16a90f

#a90f16 · #64a90f · #0fa9a1

Contrast

#540fa9 as textRatioAAAA largeAAAFix
Aaon white
10.41:1passpasspassPasses AAA — no fix needed.
Aaon black
2.02:1failfailfail
  • AA: use #964def as the text (4.6:1)
  • AAA: use #b27cf4 as the text (7.08:1)
  • AA: or shift the background to #ababab (4.53:1)
  • AAA: or shift the background to #d4d4d4 (7.02:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #540fa9 as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#540fa9 reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #540fa9
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #540fa9 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/540fa9-b39cc4-dfda4e-2c1f2d-e9eaf1?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md