Color

#312fac

#312fac
hex#312fac
rgbrgb(49, 47, 172)
hslhsl(241, 57%, 43%)
oklchoklch(0.402 0.191 274.3)
Closest name: Depths of Night (#2c319b)Relative luminance 0.0566

Tints & shades

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

Harmonies

Complementary

Open in tool →

#aaac2f

#2f6cac · #702fac

#ac312f · #2fac31

Split-complementary

Open in tool →

#ac702f · #6cac2f

#ac2f6c · #aaac2f · #2fac70

Contrast

#312fac as textRatioAAAA largeAAAFix
Aaon white
9.85:1passpasspassPasses AAA — no fix needed.
Aaon black
2.13:1failfailfail
  • AA: use #6967d5 as the text (4.5:1)
  • AAA: use #908fe0 as the text (7.19:1)
  • AA: or shift the background to #b0b0b0 (4.54:1)
  • AAA: or shift the background to #dbdbdb (7.11:1)

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

#312fac reads as cool, modern. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/312fac-a19cc4-df9b4e-261f2d-e9edf1?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