Color

#662aa2

#662aa2
hex#662aa2
rgbrgb(102, 42, 162)
hslhsl(270, 59%, 40%)
oklchoklch(0.436 0.182 302)
Closest name: rebeccapurple (#663399)Relative luminance 0.0709

Tints & shades

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

Harmonies

Complementary

Open in tool →

#66a22a

#2a2aa2 · #a22aa2

#a2662a · #2aa266

Split-complementary

Open in tool →

#a2a22a · #2aa22a

#a22a2a · #66a22a · #2aa2a2

Contrast

#662aa2 as textRatioAAAA largeAAAFix
Aaon white
8.69:1passpasspassPasses AAA — no fix needed.
Aaon black
2.42:1failfailfail
  • AA: use #9659d4 as the text (4.68:1)
  • AAA: use #b081df as the text (7.05:1)
  • AA: or shift the background to #bdbdbd (4.62:1)
  • AAA: or shift the background to #e8e8e8 (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 #662aa2 as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/662aa2-b59cc4-c9cb62-2c1f2d-eae9f1?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