Color

#340f3e

#340f3e
hex#340f3e
rgbrgb(52, 15, 62)
hslhsl(287, 61%, 15%)
oklchoklch(0.254 0.092 318.4)
Closest name: Dark Purple (#35063e)Relative luminance 0.0142

Tints & shades

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

Harmonies

Complementary

Open in tool →

#193e0f

#1c0f3e · #3e0f30

#3e330f · #0f3e33

Split-complementary

Open in tool →

#303e0f · #0f3e1c

#3e1c0f · #193e0f · #0f303e

Contrast

#340f3e as textRatioAAAA largeAAAFix
Aaon white
16.36:1passpasspassPasses AAA — no fix needed.
Aaon black
1.28:1failfailfail
  • AA: use #b242d1 as the text (4.59:1)
  • AAA: use #c878de as the text (7.2:1)
  • AA: or shift the background to #878787 (4.55:1)
  • AAA: or shift the background to #ababab (7.12:1)

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

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

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

tool url/palettes/new/340f3e-bd9fc1-abcb62-2d1f2a-ece9f1?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