Color

#340f4d

#340f4d
hex#340f4d
rgbrgb(52, 15, 77)
hslhsl(276, 67%, 18%)
oklchoklch(0.266 0.109 307.7)
Closest name: Fabric of Space (#341758)Relative luminance 0.0161

Tints & shades

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

Harmonies

Complementary

Open in tool →

#284d0f

#150f4d · #4d0f47

#4d340f · #0f4d34

Split-complementary

Open in tool →

#474d0f · #0f4d15

#4d150f · #284d0f · #0f474d

Contrast

#340f4d as textRatioAAAA largeAAAFix
Aaon white
15.89:1passpasspassPasses AAA — no fix needed.
Aaon black
1.32:1failfailfail
  • AA: use #a24cdc as the text (4.6:1)
  • AAA: use #bb7be5 as the text (7.08:1)
  • AA: or shift the background to #8a8a8a (4.6:1)
  • AAA: or shift the background to #adadad (7.08:1)

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

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

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

tool url/palettes/new/340f4d-b99cc4-bfcb62-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