# #540fa3

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

## Values

- Hex: `#540fa3`
- RGB: rgb(84, 15, 163)
- HSL: hsl(268, 83%, 35%)
- OKLCH: oklch(0.392 0.203 295.5)
- Relative luminance: 0.0487
- Nearest named color: Intergalactic Settlement (#5b1e8b, Δ 4.65) — https://brandsweets.com/colors/intergalactic-settlement
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/540fa3

## Tints & shades

- Tints (toward white): #6312bf, #7415e0, #8328eb, #9344ee, #a665f1, #b681f3, #c69df6, #d7b9f8, #e9dafc, #faf6fe
- Shades (toward black): #4d0e95, #460d87, #3f0b79, #370a6b, #30095d, #27074b, #1f063d, #18042f, #110321, #0a0213

## Harmonies

- Complementary: #5ea30f
- Analogous: #0f14a3, #9e0fa3
- Triadic: #a3540f, #0fa354
- Split-complementary: #a39e0f, #14a30f
- Tetradic: #a30f14, #5ea30f, #0fa39e

## Colors that go with #540fa3

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 #540fa3'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), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Nokia (https://brandsweets.com/colors/brands/nokia-com). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #540fa3 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
- **Denim** #1560bd [pool] — Designers have shipped Denim with #540fa3: 3 real palettes, including Slack's brand system and Unilever's brand system, as the lead colour. Seen in: Slack (https://brandsweets.com/colors/brands/slack-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 3 real palettes, including Kraken's brand system and Blue Mono put Midnight Blue beside #540fa3, 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). — https://brandsweets.com/colors/midnightblue
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #540fa3: 3 real palettes, including FedEx's brand system and Hershey's's brand system, as the accent. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust). — https://brandsweets.com/colors/steelblue
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #540fa3 — 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), Gemstone (https://brandsweets.com/palettes/vivid#gemstone). — https://brandsweets.com/colors/teal
- **Forest Green** #228b22 [harmony: split] — Forest Green is a split-complement of #540fa3: nearly opposite, so it still pops against it, without the vibrating edge of a true complement. — https://brandsweets.com/colors/forestgreen
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #540fa3: 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

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

- On white (#ffffff): 10.64:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.97:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #994eef (4.69:1); AA: background → #ababab (4.63:1); AAA: text → #b47cf3 (7.12:1); AAA: background → #d4d4d4 (7.18:1)

## Brands using this color

- **Taco Bell** — primary #501098 (Δ 1.952) — 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/540fa3-b39cc4-dfdc4e-2c1f2d-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: "#540fa3" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
