Color

#342f42

#342f42
hex#342f42
rgbrgb(52, 47, 66)
hslhsl(256, 17%, 22%)
oklchoklch(0.319 0.034 296.5)
Closest name: Haiti (#2c2a35)Relative luminance 0.0316

Tints & shades

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

Harmonies

Complementary

Open in tool →

#3d422f

#2f3342 · #3d2f42

#42342f · #2f4234

Split-complementary

Open in tool →

#423d2f · #33422f

#422f33 · #3d422f · #2f423d

Contrast

#342f42 as textRatioAAAA largeAAAFix
Aaon white
12.87:1passpasspassPasses AAA — no fix needed.
Aaon black
1.63:1failfailfail
  • AA: use #7b7099 as the text (4.62:1)
  • AAA: use #9991b1 as the text (7.04:1)
  • AA: or shift the background to #999999 (4.52:1)
  • AAA: or shift the background to #bfbfbf (7:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #342f42 as the background.

Brands using this color

Fonts for this mood

#342f42 reads as cool, muted, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/342f42-ab9cc4-dfbf4e-291f2d-e9ebf1?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