Color

#5a2caa

#5a2caa
hex#5a2caa
rgbrgb(90, 44, 170)
hslhsl(262, 59%, 42%)
oklchoklch(0.431 0.187 293.7)
Closest name: rebeccapurple (#663399)Relative luminance 0.0688

Tints & shades

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

Harmonies

Complementary

Open in tool →

#7caa2c

#2c3daa · #992caa

#aa5a2c · #2caa5a

Split-complementary

Open in tool →

#aa992c · #3daa2c

#aa2c3d · #7caa2c · #2caa99

Contrast

#5a2caa as textRatioAAAA largeAAAFix
Aaon white
8.84:1passpasspassPasses AAA — no fix needed.
Aaon black
2.38:1failfailfail
  • AA: use #895dd5 as the text (4.59:1)
  • AAA: use #a685e0 as the text (7.05:1)
  • AA: or shift the background to #bababa (4.56:1)
  • AAA: or shift the background to #e6e6e6 (7.08:1)

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

Brands using this color

Fonts for this mood

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

mcpConnect your agent — build around #5a2caa
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 #5a2caa and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/5a2caa-af9cc4-dfce4e-2a1f2d-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