Color

#840c8d

#840c8d
hex#840c8d
rgbrgb(132, 12, 141)
hslhsl(296, 84%, 30%)
oklchoklch(0.441 0.199 324.8)
Closest name: darkmagenta (#8b008b)Relative luminance 0.0709

Tints & shades

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

Harmonies

Complementary

Open in tool →

#158d0c

#440c8d · #8d0c55

#8d840c · #0c8d84

Split-complementary

Open in tool →

#558d0c · #0c8d44

#8d440c · #158d0c · #0c558d

Contrast

#840c8d as textRatioAAAA largeAAAFix
Aaon white
8.68:1passpasspassPasses AAA — no fix needed.
Aaon black
2.42:1failfailfail
  • AA: use #cb13d8 as the text (4.62:1)
  • AAA: use #e75bf1 as the text (7.16:1)
  • AA: or shift the background to #bdbdbd (4.62: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 #840c8d 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

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

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

tool url/palettes/new/840c8d-c19fbf-9ccb62-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