Color

#331f37

#331f37
hex#331f37
rgbrgb(51, 31, 55)
hslhsl(290, 28%, 17%)
oklchoklch(0.276 0.051 320.8)
Closest name: Midnight Velvet (#2a2243)Relative luminance 0.0196

Tints & shades

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

Harmonies

Complementary

Open in tool →

#23371f

#271f37 · #371f2f

#37331f · #1f3733

Split-complementary

Open in tool →

#2f371f · #1f3727

#37271f · #23371f · #1f2f37

Contrast

#331f37 as textRatioAAAA largeAAAFix
Aaon white
15.09:1passpasspassPasses AAA — no fix needed.
Aaon black
1.39:1failfailfail
  • AA: use #995fa5 as the text (4.53:1)
  • AAA: use #b286bb as the text (7.02:1)
  • AA: or shift the background to #8f8f8f (4.67:1)
  • AAA: or shift the background to #b3b3b3 (7.2:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/331f37-bf9fc1-a6cb62-2d1f29-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