Color

#840f8a

#840f8a
hex#840f8a
rgbrgb(132, 15, 138)
hslhsl(297, 80%, 30%)
oklchoklch(0.44 0.195 325.9)
Closest name: darkmagenta (#8b008b)Relative luminance 0.0708

Tints & shades

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

Harmonies

Complementary

Open in tool →

#158a0f

#460f8a · #8a0f53

#8a840f · #0f8a84

Split-complementary

Open in tool →

#538a0f · #0f8a46

#8a460f · #158a0f · #0f538a

Contrast

#840f8a as textRatioAAAA largeAAAFix
Aaon white
8.69:1passpasspassPasses AAA — no fix needed.
Aaon black
2.42:1failfailfail
  • AA: use #ca17d3 as the text (4.57:1)
  • AAA: use #e55aed as the text (7.02:1)
  • AA: or shift the background to #bdbdbd (4.63:1)
  • AAA: or shift the background to #e8e8e8 (7.09:1)

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

#840f8a reads as cool, vivid, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/840f8a-c19fbe-9acb62-2d1f28-ede9f1?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