# #40047b

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

## Values

- Hex: `#40047b`
- RGB: rgb(64, 4, 123)
- HSL: hsl(270, 94%, 25%)
- OKLCH: oklch(0.319 0.169 297.2)
- Relative luminance: 0.0261
- Nearest named color: indigo (#4b0082, Δ 2.619) — https://brandsweets.com/colors/indigo
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/40047b

## Tints & shades

- Tints (toward white): #52059e, #6606c6, #7807e9, #8a1bf8, #9e43f9, #b066fa, #c288fb, #d4abfc, #e8d2fe, #faf5ff
- Shades (toward black): #3b0472, #360368, #30035e, #2b0354, #26024a, #1f023b, #1a0231, #140128, #0f011e, #0a0114

## Harmonies

- Complementary: #407c04
- Analogous: #04047c, #7c047c
- Triadic: #7c4004, #047c40
- Split-complementary: #7c7c04, #047c04
- Tetradic: #7c0404, #407c04, #047c7c

## Colors that go with #40047b

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

- **Crimson** #dc143c [pool] — Crimson is paired with #40047b in 4 real palettes, including Casper Sleep's brand system and Pepsi's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/crimson
- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #40047b's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Confluent (https://brandsweets.com/colors/brands/confluent-io), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #40047b in 4 real palettes, including Gillette's brand system and Boeing's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Boeing (https://brandsweets.com/colors/brands/boeing-com), American Eagle (https://brandsweets.com/colors/brands/ae-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com). — https://brandsweets.com/colors/taupe
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #40047b 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 #40047b: 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), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/charcoal
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #40047b: 3 real palettes, including Purina Pro Plan's brand system and Blue Mono, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40047b: 3 real palettes, including Bank of America's brand system and Panasonic's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Slack (https://brandsweets.com/colors/brands/slack-com). — https://brandsweets.com/colors/denim
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #40047b — 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

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

- On white (#ffffff): 13.8:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.52:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #9e43f9 (4.62:1); AA: background → #949494 (4.55:1); AAA: text → #ba79fb (7.22:1); AAA: background → #bababa (7.11:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern
- luxury: https://brandsweets.com/fonts/mood/luxury
- bold: https://brandsweets.com/fonts/mood/bold

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/40047b-b59cc4-c9cb62-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: "#40047b" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
