# #40159e

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

## Values

- Hex: `#40159e`
- RGB: rgb(64, 21, 158)
- HSL: hsl(259, 77%, 35%)
- OKLCH: oklch(0.369 0.195 286.1)
- Relative luminance: 0.0409
- Nearest named color: Galactic Civilization (#442288, Δ 4.119) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/40159e

## Tints & shades

- Tints (toward white): #4b18b9, #581cd9, #692fe4, #7c4ae8, #936aec, #a785ef, #baa0f3, #cebbf6, #e5dbfa, #f8f6fe
- Shades (toward black): #3b1390, #351183, #300f75, #2a0d68, #250c5a, #1d0948, #18083b, #12062d, #0d0420, #070212

## Harmonies

- Complementary: #729e15
- Analogous: #152e9e, #85159e
- Triadic: #9e4015, #159e40
- Split-complementary: #9e8515, #2e9e15
- Tetradic: #9e152e, #729e15, #159e85

## Colors that go with #40159e

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 #40159e'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), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com), NHL (https://brandsweets.com/colors/brands/nhl-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 #40159e, as the lead colour. Seen in: Zillow (https://brandsweets.com/colors/brands/zillow-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Pfizer (https://brandsweets.com/colors/brands/pfizer-com), CVS (https://brandsweets.com/colors/brands/cvs-com). — https://brandsweets.com/colors/blue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #40159e: 5 real palettes, including Tide's brand system and Zillow's brand system, as the lead colour. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Unilever (https://brandsweets.com/colors/brands/unilever-com). — https://brandsweets.com/colors/cobalt
- **Crimson** #dc143c [pool] — Crimson is paired with #40159e in 7 real palettes, including Pepsi's brand system and Casper Sleep's brand system, as the supporting colour. Seen in: Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com). — https://brandsweets.com/colors/crimson
- **Midnight Blue** #191970 [pool] — 7 real palettes, including Kraken's brand system and Blue Mono put Midnight Blue beside #40159e, 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), Visa (https://brandsweets.com/colors/brands/visa-com). — https://brandsweets.com/colors/midnightblue
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #40159e: 4 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), Glacier (https://brandsweets.com/palettes/cool#glacier). — https://brandsweets.com/colors/steelblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #40159e 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 #40159e: 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

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

- On white (#ffffff): 11.54:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.82:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8658e9 (4.59:1); AA: background → #a3a3a3 (4.58:1); AAA: text → #a785ef (7.24:1); AAA: background → #cccccc (7.19:1)

## Brands using this color

- **dbt Labs** — accent #3d189a (Δ 0.848) — https://brandsweets.com/colors/brands/getdbt-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/40159e-ad9cc4-dfc74e-2a1f2d-e9ebf1?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: "#40159e" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
