Color

#331e39

#331e39
hex#331e39
rgbrgb(51, 30, 57)
hslhsl(287, 31%, 17%)
oklchoklch(0.275 0.056 318.5)
Closest name: Midnight Velvet (#2a2243)Relative luminance 0.0193

Tints & shades

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

Harmonies

Complementary

Open in tool →

#24391e

#261e39 · #391e31

#39331e · #1e3933

Split-complementary

Open in tool →

#31391e · #1e3926

#39261e · #24391e · #1e3139

Contrast

#331e39 as textRatioAAAA largeAAAFix
Aaon white
15.16:1passpasspassPasses AAA — no fix needed.
Aaon black
1.39:1failfailfail
  • AA: use #9a5fab as the text (4.6:1)
  • AAA: use #b387c0 as the text (7.14:1)
  • AA: or shift the background to #8c8c8c (4.51:1)
  • AAA: or shift the background to #b3b3b3 (7.23:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/331e39-bd9fc1-abcb62-2d1f2a-ece9f1?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