Color

#31007a

#31007a
hex#31007a
rgbrgb(49, 0, 122)
hslhsl(264, 100%, 24%)
oklchoklch(0.297 0.17 288.2)
Closest name: Galactic Federation (#330077)Relative luminance 0.0206

Tints & shades

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

Harmonies

Complementary

Open in tool →

#497a00

#000c7a · #6e007a

#7a3100 · #007a31

Split-complementary

Open in tool →

#7a6e00 · #0c7a00

#7a000c · #497a00 · #007a6e

Contrast

#31007a as textRatioAAAA largeAAAFix
Aaon white
14.88:1passpasspassPasses AAA — no fix needed.
Aaon black
1.41:1failfailfail
  • AA: use #9147ff as the text (4.55:1)
  • AAA: use #af7aff as the text (7.05:1)
  • AA: or shift the background to #8f8f8f (4.6:1)
  • AAA: or shift the background to #b3b3b3 (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 #31007a 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

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

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

tool url/palettes/new/31007a-b19cc4-dfd34e-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