Color

#332fac

#332fac
hex#332fac
rgbrgb(51, 47, 172)
hslhsl(242, 57%, 43%)
oklchoklch(0.403 0.191 275)
Closest name: Depths of Night (#2c319b)Relative luminance 0.0572

Tints & shades

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

Harmonies

Complementary

Open in tool →

#a8ac2f

#2f69ac · #722fac

#ac332f · #2fac33

Split-complementary

Open in tool →

#ac722f · #69ac2f

#ac2f69 · #a8ac2f · #2fac72

Contrast

#332fac as textRatioAAAA largeAAAFix
Aaon white
9.8:1passpasspassPasses AAA — no fix needed.
Aaon black
2.14:1failfailfail
  • AA: use #6b67d5 as the text (4.53:1)
  • AAA: use #928fe0 as the text (7.23:1)
  • AA: or shift the background to #b0b0b0 (4.52:1)
  • AAA: or shift the background to #dbdbdb (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 #332fac 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

#332fac reads as cool, modern. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/332fac-a29cc4-df9e4e-261f2d-e9edf1?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