# #542f98

A color — cool, modern. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#542f98`
- RGB: rgb(84, 47, 152)
- HSL: hsl(261, 53%, 39%)
- OKLCH: oklch(0.413 0.162 294.4)
- Relative luminance: 0.0618
- Nearest named color: rebeccapurple (#663399, Δ 3.691) — https://brandsweets.com/colors/rebeccapurple
- Moods: cool, modern
- Page: https://brandsweets.com/colors/542f98

## Tints & shades

- Tints (toward white): #6136b0, #6e40c4, #8057cb, #926fd3, #a386da, #b29ae0, #c4b1e7, #d6c8ee, #e7e0f5, #f9f7fd
- Shades (toward black): #4d2b8c, #45267d, #3e2371, #361e62, #2f1a56, #271646, #20123b, #180d2b, #110a1f, #090510

## Harmonies

- Complementary: #73982f
- Analogous: #2f3f98, #882f98
- Triadic: #98542f, #2f9854
- Split-complementary: #98882f, #3f982f
- Tetradic: #982f3f, #73982f, #2f9888

## Colors that go with #542f98

Named partners (harmony on the OKLCH wheel, co-occurrence in curated palettes and brand systems, and the neutrals that carry it), best first:

- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #542f98's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Wayfair (https://brandsweets.com/colors/brands/wayfair-com), Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Fivetran blue (https://brandsweets.com/colors/brands/fivetran-com). — https://brandsweets.com/colors/royalblue
- **Blue** #0000ff [pool] — 4 real palettes, including Zillow's brand system and Procter & Gamble's brand system put Blue beside #542f98, as the lead colour. Seen in: Zillow (https://brandsweets.com/colors/brands/zillow-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #542f98 in 5 real palettes, including Wells Fargo's brand system and Walgreens's brand system, as the lead colour. Seen in: Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Gemstone (https://brandsweets.com/palettes/vivid#gemstone). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #542f98: 5 real palettes, including Slack's brand system and Warbyparker's brand system, as the lead colour. Seen in: Slack (https://brandsweets.com/colors/brands/slack-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Unilever (https://brandsweets.com/colors/brands/unilever-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 9 real palettes, including Kraken's brand system and Blue Mono put Midnight Blue beside #542f98, as the lead colour. Seen in: Kraken (https://brandsweets.com/colors/brands/kraken-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), First Snow (https://brandsweets.com/palettes/cool#first-snow). — https://brandsweets.com/colors/midnightblue
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #542f98: 4 real palettes, including FedEx's brand system and Fintech Trust, as the accent. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #542f98 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #542f98: softer than #000 and cool enough to feel like part of the same palette. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), Hinge (https://brandsweets.com/colors/brands/hinge-co). — https://brandsweets.com/colors/charcoal

## Contrast (WCAG 2.x, as text)

- On white (#ffffff): 9.39:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.24:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #865fce (4.54:1); AA: background → #b5b5b5 (4.58:1); AAA: text → #a68adb (7.28:1); AAA: background → #e0e0e0 (7.11:1)

## Fonts for this mood

- modern: https://brandsweets.com/fonts/mood/modern

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/542f98-af9cc4-dfcb4e-2a1f2d-e9eaf1?lock=0&style=vibrant
(Humans lock/regenerate in the tool; the URL is the state — read `lock=` back to see what they kept.)

## Connect an agent

Point any MCP client at the BrandSweets colors endpoint for the same engine:

- Endpoint: https://mcp.brandsweets.com/colors/mcp
- Tools: `analyze_color` (e.g. `analyze_color({ color: "#542f98" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
