Color

#402c4e

#402c4e
hex#402c4e
rgbrgb(64, 44, 78)
hslhsl(275, 28%, 24%)
oklchoklch(0.332 0.063 310.3)
Closest name: Acai (#48295b)Relative luminance 0.0344

Tints & shades

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

Harmonies

Complementary

Open in tool →

#3a4e2c

#2f2c4e · #4e2c4b

#4e402c · #2c4e40

Split-complementary

Open in tool →

#4b4e2c · #2c4e2f

#4e2f2c · #3a4e2c · #2c4b4e

Contrast

#402c4e as textRatioAAAA largeAAAFix
Aaon white
12.44:1passpasspassPasses AAA — no fix needed.
Aaon black
1.69:1failfailfail
  • AA: use #8d66a9 as the text (4.61:1)
  • AAA: use #aa8dbf as the text (7.27:1)
  • AA: or shift the background to #9c9c9c (4.53:1)
  • AAA: or shift the background to #c4c4c4 (7.13:1)

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

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

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

tool url/palettes/new/402c4e-b89cc4-c0cb62-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