# #40317c

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

## Values

- Hex: `#40317c`
- RGB: rgb(64, 49, 124)
- HSL: hsl(252, 43%, 34%)
- OKLCH: oklch(0.373 0.122 288.2)
- Relative luminance: 0.0474
- Nearest named color: Galactic Compass (#48357b, Δ 1.892) — https://brandsweets.com/colors/galactic-compass
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40317c

## Tints & shades

- Tints (toward white): #4c3a92, #5944ab, #6854bb, #7f6dc5, #9283ce, #a599d6, #bcb2e0, #cfc8e9, #e5e2f3, #f9f8fc
- Shades (toward black): #3b2d71, #352966, #2f245b, #2a2050, #241c45, #1e173a, #19132f, #130f24, #0d0a1a, #08060f

## Harmonies

- Complementary: #6d7c31
- Analogous: #31487c, #66317c
- Triadic: #7c4031, #317c40
- Split-complementary: #7c6631, #487c31
- Tetradic: #7c3148, #6d7c31, #317c66

## Colors that go with #40317c

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 #40317c: 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
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #40317c's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Glacier (https://brandsweets.com/palettes/cool#glacier), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 5 real palettes, including Alaska Airlines's brand system and Procter & Gamble's brand system put Blue beside #40317c, 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), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #40317c 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), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40317c: 11 real palettes, including Hasbro's brand system and Panasonic's brand system, as the supporting colour. Seen in: Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Jack Daniel's (https://brandsweets.com/colors/brands/jackdaniels-com). — https://brandsweets.com/colors/denim
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #40317c 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 #40317c: 4 real palettes, including Glacier and First Snow, as the supporting colour. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), First Snow (https://brandsweets.com/palettes/cool#first-snow), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember), Macaron (https://brandsweets.com/palettes/light#macaron). — https://brandsweets.com/colors/powderblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #40317c in 8 real palettes, including Nokia's brand system and Confluent's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Confluent (https://brandsweets.com/colors/brands/confluent-io), Discord (https://brandsweets.com/colors/brands/discord), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue

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

- On white (#ffffff): 10.78:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.95:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7b69c3 (4.65:1); AA: background → #a8a8a8 (4.53:1); AAA: text → #9c8ed2 (7.21:1); AAA: background → #d1d1d1 (7.06: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/40317c-a99cc4-dfb64e-281f2d-e9ecf1?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: "#40317c" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
