Color

#5b2a7e

#5b2a7e
hex#5b2a7e
rgbrgb(91, 42, 126)
hslhsl(275, 50%, 33%)
oklchoklch(0.394 0.139 308.1)
Closest name: Intergalactic Settlement (#5b1e8b)Relative luminance 0.0539

Colors that go with #5b2a7e

Charcoal, Crimson and Midnight 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.

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4d7e2a

#312a7e · #7e2a77

#7e5b2a · #2a7e5b

Split-complementary

Open in tool →

#777e2a · #2a7e31

#7e312a · #4d7e2a · #2a777e

Contrast

#5b2a7e as textRatioAAAA largeAAAFix
Aaon white
10.11:1passpasspassPasses AAA — no fix needed.
Aaon black
2.08:1failfailfail
  • AA: use #9857c7 as the text (4.52:1)
  • AAA: use #b485d6 as the text (7.27:1)
  • AA: or shift the background to #adadad (4.5:1)
  • AAA: or shift the background to #d9d9d9 (7.16:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #5b2a7e 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

#5b2a7e reads as cool, modern. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #5b2a7e
live endpoint

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.

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

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

tool url/palettes/new/5b2a7e-b89cc4-c0cb62-2d1f2d-eae9f1?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