Color

#511f8e

#511f8e
hex#511f8e
rgbrgb(81, 31, 142)
hslhsl(267, 64%, 34%)
oklchoklch(0.381 0.169 298.3)
Closest name: Intergalactic Settlement (#5b1e8b)Relative luminance 0.0468

Tints & shades

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

Harmonies

Complementary

Open in tool →

#5c8e1f

#1f258e · #891f8e

#8e511f · #1f8e51

Split-complementary

Open in tool →

#8e891f · #258e1f

#8e1f25 · #5c8e1f · #1f8e89

Contrast

#511f8e as textRatioAAAA largeAAAFix
Aaon white
10.84:1passpasspassPasses AAA — no fix needed.
Aaon black
1.94:1failfailfail
  • AA: use #9258da as the text (4.63:1)
  • AAA: use #ae82e3 as the text (7.1:1)
  • AA: or shift the background to #a8a8a8 (4.56:1)
  • AAA: or shift the background to #d1d1d1 (7.1:1)

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

#511f8e reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/511f8e-b39cc4-dfda4e-2c1f2d-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