Color

#331b6f

#331b6f
hex#331b6f
rgbrgb(51, 27, 111)
hslhsl(257, 61%, 27%)
oklchoklch(0.313 0.135 289.2)
Closest name: Deep Space Rodeo (#332277)Relative luminance 0.0264

Tints & shades

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

Harmonies

Complementary

Open in tool →

#576f1b

#1b2d6f · #5d1b6f

#6f331b · #1b6f33

Split-complementary

Open in tool →

#6f5d1b · #2d6f1b

#6f1b2d · #576f1b · #1b6f5d

Contrast

#331b6f as textRatioAAAA largeAAAFix
Aaon white
13.75:1passpasspassPasses AAA — no fix needed.
Aaon black
1.53:1failfailfail
  • AA: use #815fd8 as the text (4.56:1)
  • AAA: use #a288e2 as the text (7.16:1)
  • AA: or shift the background to #949494 (4.53:1)
  • AAA: or shift the background to #bababa (7.09:1)

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

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

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

tool url/palettes/new/331b6f-ac9cc4-dfc24e-291f2d-e9ebf1?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