Color

#31046c

#31046c
hex#31046c
rgbrgb(49, 4, 108)
hslhsl(266, 93%, 22%)
oklchoklch(0.283 0.153 292.5)
Closest name: Galactic Federation (#330077)Relative luminance 0.0182

Tints & shades

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

Harmonies

Complementary

Open in tool →

#3f6c04

#040b6c · #65046c

#6c3104 · #046c31

Split-complementary

Open in tool →

#6c6504 · #0b6c04

#6c040b · #3f6c04 · #046c65

Contrast

#31046c as textRatioAAAA largeAAAFix
Aaon white
15.39:1passpasspassPasses AAA — no fix needed.
Aaon black
1.36:1failfailfail
  • AA: use #9549f8 as the text (4.59:1)
  • AAA: use #b27afa as the text (7.06:1)
  • AA: or shift the background to #8c8c8c (4.58:1)
  • AAA: or shift the background to #b0b0b0 (7.1:1)

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

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

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

tool url/palettes/new/31046c-b29cc4-dfd74e-2b1f2d-e9eaf1?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