# #402b78

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

## Values

- Hex: `#402b78`
- RGB: rgb(64, 43, 120)
- HSL: hsl(256, 47%, 32%)
- OKLCH: oklch(0.359 0.125 291.4)
- Relative luminance: 0.0417
- Nearest named color: Her Highness (#432e6f, Δ 1.896) — https://brandsweets.com/colors/her-highness
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402b78

## Tints & shades

- Tints (toward white): #4e3592, #5a3da9, #6a4bbe, #7c62c6, #927cd0, #a896d9, #bbade1, #d0c7eb, #e3ddf3, #f9f8fc
- Shades (toward black): #3a276d, #342361, #30205a, #2a1c4f, #241843, #1e1438, #18102d, #140e25, #0e091a, #08050f

## Harmonies

- Complementary: #63782b
- Analogous: #2b3d78, #662b78
- Triadic: #78402b, #2b7840
- Split-complementary: #78662b, #3d782b
- Tetradic: #782b3d, #63782b, #2b7866

## Colors that go with #402b78

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

- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #402b78: 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), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Codecademy (https://brandsweets.com/colors/brands/codecademy-com). — https://brandsweets.com/colors/charcoal
- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #402b78'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), Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Blue** #0000ff [pool] — 4 real palettes, including Alaska Airlines's brand system and Procter & Gamble's brand system put Blue beside #402b78, as the accent. Seen in: Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Sketch (https://brandsweets.com/colors/brands/sketch-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #402b78 in 8 real palettes, including Casper Sleep's brand system and Marvel's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402b78: 12 real palettes, including Panasonic's brand system and Hasbro's brand system, as the accent. Seen in: Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com). — https://brandsweets.com/colors/denim
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #402b78 in 4 real palettes, including Tide's brand system and NASA's brand system, as the accent. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), NASA (https://brandsweets.com/colors/brands/nasa-gov), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Audi (https://brandsweets.com/colors/brands/audi-com). — https://brandsweets.com/colors/orangered
- **Powder Blue** #b0e0e6 [pool] — Designers have shipped Powder Blue with #402b78: 4 real palettes, including Glacier and Frost & Ember, as the supporting colour. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember), First Snow (https://brandsweets.com/palettes/cool#first-snow), Macaron (https://brandsweets.com/palettes/light#macaron). — https://brandsweets.com/colors/powderblue
- **Slate Gray** #708090 [pool] — 5 real palettes, including Ink & Paper and Bloomberg's brand system put Slate Gray beside #402b78, as the supporting colour. Seen in: Ink & Paper (https://brandsweets.com/palettes/minimal#ink-and-paper), Bloomberg (https://brandsweets.com/colors/brands/bloomberg-com), Hermès (https://brandsweets.com/colors/brands/hermes-com), PlayStation® Official Site: Consoles, Games, Accessories & MoreSony Interactive Entertainment (https://brandsweets.com/colors/brands/playstation-com). — https://brandsweets.com/colors/slategray

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

- On white (#ffffff): 11.45:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.83:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8065c8 (4.61:1); AA: background → #a3a3a3 (4.54:1); AAA: text → #9f8bd5 (7.13:1); AAA: background → #cccccc (7.13: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/402b78-ab9cc4-dfbf4e-291f2d-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: "#402b78" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
