Color

#331f3d

#331f3d
hex#331f3d
rgbrgb(51, 31, 61)
hslhsl(280, 33%, 18%)
oklchoklch(0.279 0.059 313.7)
Closest name: Midnight Velvet (#2a2243)Relative luminance 0.0202

Tints & shades

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

Harmonies

Complementary

Open in tool →

#293d1f

#241f3d · #3d1f38

#3d331f · #1f3d33

Split-complementary

Open in tool →

#383d1f · #1f3d24

#3d241f · #293d1f · #1f383d

Contrast

#331f3d as textRatioAAAA largeAAAFix
Aaon white
14.96:1passpasspassPasses AAA — no fix needed.
Aaon black
1.4:1failfailfail
  • AA: use #9460af as the text (4.55:1)
  • AAA: use #b088c3 as the text (7.16:1)
  • AA: or shift the background to #8f8f8f (4.62:1)
  • AAA: or shift the background to #b3b3b3 (7.13:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/331f3d-b99fc1-b8cb62-2d1f2c-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