Color

#310c31

#310c31
hex#310c31
rgbrgb(49, 12, 49)
hslhsl(300, 61%, 12%)
oklchoklch(0.235 0.081 327.8)
Closest name: Dark Prom Queen (#2b0f2e)Relative luminance 0.0114

Tints & shades

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

Harmonies

Complementary

Open in tool →

#0c310c

#1f0c31 · #310c1f

#31310c · #0c3131

Split-complementary

Open in tool →

#1f310c · #0c311f

#311f0c · #0c310c · #0c1f31

Contrast

#310c31 as textRatioAAAA largeAAAFix
Aaon white
17.11:1passpasspassPasses AAA — no fix needed.
Aaon black
1.23:1failfailfail
  • AA: use #c530c5 as the text (4.6:1)
  • AAA: use #db6bdb as the text (7.14:1)
  • AA: or shift the background to #858585 (4.64:1)
  • AAA: or shift the background to #a6a6a6 (7.03:1)

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

#310c31 reads as warm, vivid, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/310c31-c19fbd-95cb62-2d1f27-ede9f1?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