# #540a99

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

## Values

- Hex: `#540a99`
- RGB: rgb(84, 10, 153)
- HSL: hsl(271, 88%, 32%)
- OKLCH: oklch(0.379 0.196 298.5)
- Relative luminance: 0.044
- Nearest named color: Intergalactic Settlement (#5b1e8b, Δ 3.614) — https://brandsweets.com/colors/intergalactic-settlement
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/540a99

## Tints & shades

- Tints (toward white): #660cbb, #760ed8, #8819f0, #9736f2, #a857f4, #ba79f6, #c996f8, #dab7fa, #e9d4fc, #faf5fe
- Shades (toward black): #4c098b, #44087d, #3f0773, #370665, #2f0656, #270548, #1f043a, #1a0330, #120222, #0a0113

## Harmonies

- Complementary: #4f990a
- Analogous: #0c0a99, #990a97
- Triadic: #99540a, #0a9954
- Split-complementary: #97990a, #0a990c
- Tetradic: #990c0a, #4f990a, #0a9799

## Colors that go with #540a99

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 #540a99'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), Discord (https://brandsweets.com/colors/brands/discord), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #540a99 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
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #540a99 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Sapphire & Gold (https://brandsweets.com/palettes/luxury#sapphire-and-gold). — https://brandsweets.com/colors/teal
- **Sea Green** #2e8b57 [harmony: split] — Sea Green is a split-complement of #540a99: nearly opposite, so it still pops against it, without the vibrating edge of a true complement. — https://brandsweets.com/colors/seagreen
- **Blue Violet** #8a2be2 [pool] — Blue Violet is paired with #540a99 in two real palettes: Taco Bell's brand system and Twitch's brand system, as the supporting colour. Seen in: Taco Bell (https://brandsweets.com/colors/brands/tacobell-com), Twitch (https://brandsweets.com/colors/brands/twitch-tv). — https://brandsweets.com/colors/blueviolet
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #540a99: 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). — https://brandsweets.com/colors/charcoal
- **Cornflower Blue** #6495ed [pool] — Designers have shipped Cornflower Blue with #540a99: two real palettes: Peacock's brand system and Blue Mono, as the accent. Seen in: Peacock (https://brandsweets.com/colors/brands/peacocktv-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono). — https://brandsweets.com/colors/cornflowerblue
- **Midnight Blue** #191970 [pool] — Two real palettes: Kraken's brand system and Blue Mono put Midnight Blue beside #540a99, as the lead colour. Seen in: Kraken (https://brandsweets.com/colors/brands/kraken-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono). — https://brandsweets.com/colors/midnightblue

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

- On white (#ffffff): 11.17:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.88:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #9e44f3 (4.57:1); AA: background → #a6a6a6 (4.59:1); AAA: text → #ba79f6 (7.15:1); AAA: background → #cfcfcf (7.17:1)

## Brands using this color

- **Taco Bell** — primary #501098 (Δ 0.908) — https://brandsweets.com/colors/brands/tacobell-com

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- 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/540a99-b59cc4-c7cb62-2c1f2d-eae9f1?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: "#540a99" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
