Color

#402dd2

#402dd2
hex#402dd2
rgbrgb(64, 45, 210)
hslhsl(247, 65%, 50%)
oklchoklch(0.449 0.235 276.4)
Closest name: Blurple (#5539cc)Relative luminance 0.0762

Tints & shades

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

Harmonies

Complementary

Open in tool →

#bfd22d

#2d6cd2 · #932dd2

#d2402d · #2dd240

Split-complementary

Open in tool →

#d2932d · #6cd22d

#d22d6c · #bfd22d · #2dd293

Contrast

#402dd2 as textRatioAAAA largeAAAFix
Aaon white
8.32:1passpasspassPasses AAA — no fix needed.
Aaon black
2.52:1failfailfail
  • AA: use #7263de as the text (4.56:1)
  • AAA: use #988de7 as the text (7.3:1)
  • AA: or shift the background to #bfbfbf (4.52:1)
  • AAA: or shift the background to #ededed (7.11:1)

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

#402dd2 reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/402dd2-a59cc4-dfaa4e-271f2d-e9ecf1?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