Color

#340f6c

#340f6c
hex#340f6c
rgbrgb(52, 15, 108)
hslhsl(264, 76%, 24%)
oklchoklch(0.296 0.144 293.3)
Closest name: Galactic Federation (#330077)Relative luminance 0.0215

Tints & shades

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

Harmonies

Complementary

Open in tool →

#476c0f

#0f186c · #620f6c

#6c340f · #0f6c34

Split-complementary

Open in tool →

#6c620f · #186c0f

#6c0f18 · #476c0f · #0f6c62

Contrast

#340f6c as textRatioAAAA largeAAAFix
Aaon white
14.68:1passpasspassPasses AAA — no fix needed.
Aaon black
1.43:1failfailfail
  • AA: use #8f54e8 as the text (4.6:1)
  • AAA: use #ad81ee as the text (7.15:1)
  • AA: or shift the background to #8f8f8f (4.54:1)
  • AAA: or shift the background to #b5b5b5 (7.16:1)

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

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

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

tool url/palettes/new/340f6c-b19cc4-dfd34e-2b1f2d-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