Color

#a40a8a

#a40a8a
hex#a40a8a
rgbrgb(164, 10, 138)
hslhsl(310, 89%, 34%)
oklchoklch(0.492 0.211 337.5)
Closest name: Katy Berry (#aa0077)Relative luminance 0.0994

Tints & shades

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

Harmonies

Complementary

Open in tool →

#0aa423

#700aa4 · #a40a3d

#8aa40a · #0a8aa4

Split-complementary

Open in tool →

#3da40a · #0aa470

#a4700a · #0aa423 · #0a3da4

Contrast

#a40a8a as textRatioAAAA largeAAAFix
Aaon white
7.03:1passpasspassPasses AAA — no fix needed.
Aaon black
2.99:1failfailfail
  • AA: use #d40cb3 as the text (4.5:1)
  • AAA: use #f551da as the text (7.07:1)
  • AA: or shift the background to #cfcfcf (4.51:1)
  • AAA: or shift the background to #ffffff (7.03:1)

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

#a40a8a reads as warm, vivid, playful. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/a40a8a-c19fb7-83cb62-2d1f25-efe9f1?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