Color

#3a126e

#3a126e
hex#3a126e
rgbrgb(58, 18, 110)
hslhsl(266, 72%, 25%)
oklchoklch(0.309 0.144 296.4)
Closest name: Explorer of the Galaxies (#3a1f76)Relative luminance 0.0246

Tints & shades

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

Harmonies

Complementary

Open in tool →

#466e12

#12186e · #68126e

#6e3a12 · #126e3a

Split-complementary

Open in tool →

#6e6812 · #186e12

#6e1218 · #466e12 · #126e68

Contrast

#3a126e as textRatioAAAA largeAAAFix
Aaon white
14.08:1passpasspassPasses AAA — no fix needed.
Aaon black
1.49:1failfailfail
  • AA: use #9254e3 as the text (4.6:1)
  • AAA: use #ae80ea as the text (7.08:1)
  • AA: or shift the background to #949494 (4.64:1)
  • AAA: or shift the background to #b8b8b8 (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 #3a126e 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

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

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

tool url/palettes/new/3a126e-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