Color

#51316d

#51316d
hex#51316d
rgbrgb(81, 49, 109)
hslhsl(272, 38%, 31%)
oklchoklch(0.381 0.103 306.8)
Closest name: Imperial Purple (#5b3167)Relative luminance 0.0505

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4d6d31

#33316d · #6d316b

#6d5131 · #316d51

Split-complementary

Open in tool →

#6b6d31 · #316d33

#6d3331 · #4d6d31 · #316b6d

Contrast

#51316d as textRatioAAAA largeAAAFix
Aaon white
10.45:1passpasspassPasses AAA — no fix needed.
Aaon black
2.01:1failfailfail
  • AA: use #8f61b8 as the text (4.57:1)
  • AAA: use #aa87c9 as the text (7.02:1)
  • AA: or shift the background to #ababab (4.55:1)
  • AAA: or shift the background to #d4d4d4 (7.05:1)

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

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

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

tool url/palettes/new/51316d-b69cc4-c5cb62-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