Color

#331a3c

#331a3c
hex#331a3c
rgbrgb(51, 26, 60)
hslhsl(284, 40%, 17%)
oklchoklch(0.269 0.068 316.5)
Closest name: Nightly Voyager (#391531)Relative luminance 0.0177

Tints & shades

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

Harmonies

Complementary

Open in tool →

#233d1a

#221a3d · #3d1a35

#3d331a · #1a3d33

Split-complementary

Open in tool →

#353d1a · #1a3d22

#3d221a · #233d1a · #1a353d

Contrast

#331a3c as textRatioAAAA largeAAAFix
Aaon white
15.51:1passpasspassPasses AAA — no fix needed.
Aaon black
1.35:1failfailfail
  • AA: use #9e57b7 as the text (4.5:1)
  • AAA: use #b682c9 as the text (7.03:1)
  • AA: or shift the background to #8c8c8c (4.61:1)
  • AAA: or shift the background to #b0b0b0 (7.15:1)

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

#331a3c reads as cool, dark, luxury. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/331a3c-bc9fc1-b1cb62-2d1f2b-ebe9f1?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