# #340f57

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

## Values

- Hex: `#340f57`
- RGB: rgb(52, 15, 87)
- HSL: hsl(271, 71%, 20%)
- OKLCH: oklch(0.275 0.12 302.2)
- Relative luminance: 0.0176
- Nearest named color: Fabric of Space (#341758, Δ 1.546) — https://brandsweets.com/colors/fabric-of-space
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/340f57

## Tints & shades

- Tints (toward white): #49157a, #5e1b9d, #7020bc, #8529db, #994ce1, #ad6fe7, #c192ed, #d2b1f2, #e6d3f8, #faf6fe
- Shades (toward black): #2f0d4e, #2c0d4a, #270b41, #250a3d, #1f0934, #1a072c, #170727, #12051f, #10041a, #0a0311

## Harmonies

- Complementary: #32570f
- Analogous: #100f57, #570f56
- Triadic: #57340f, #0f5734
- Split-complementary: #56570f, #0f5710
- Tetradic: #57100f, #32570f, #0f5657

## Colors that go with #340f57

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 #340f57: softer than #000 and cool enough to feel like part of the same palette. Seen in: Microsoft (https://brandsweets.com/colors/brands/microsoft-com), Volkswagen (https://brandsweets.com/colors/brands/vw-com), Plaid (https://brandsweets.com/colors/brands/plaid-com), CeraVe (https://brandsweets.com/colors/brands/cerave-com). — https://brandsweets.com/colors/charcoal
- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #340f57's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Telehealth (https://brandsweets.com/palettes/modern#telehealth), Spectrum (https://brandsweets.com/colors/brands/spectrum-com), Penpot (https://brandsweets.com/colors/brands/penpot-app), GEICO (https://brandsweets.com/colors/brands/geico-com). — https://brandsweets.com/colors/royalblue
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #340f57 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Lufthansa (https://brandsweets.com/colors/brands/lufthansa-com), Alpine (https://brandsweets.com/palettes/cool#alpine), Clinic (https://brandsweets.com/palettes/clean#clinic), Sapphire & Gold (https://brandsweets.com/palettes/luxury#sapphire-and-gold). — https://brandsweets.com/colors/teal
- **Blue** #0000ff [pool] — 5 real palettes, including Sketch's brand system and Monzo's brand system put Blue beside #340f57, as the accent. Seen in: Sketch (https://brandsweets.com/colors/brands/sketch-com), Monzo (https://brandsweets.com/colors/brands/monzo-com), Penpot (https://brandsweets.com/colors/brands/penpot-app), Warp (https://brandsweets.com/colors/brands/warp-dev). — https://brandsweets.com/colors/blue
- **Cadet Blue** #5f9ea0 [pool] — Designers have shipped Cadet Blue with #340f57: 6 real palettes, including SoFi's brand system and Open House, as the supporting colour. Seen in: SoFi (https://brandsweets.com/colors/brands/sofi-com), Open House (https://brandsweets.com/palettes/clean#open-house), Coastal (https://brandsweets.com/palettes/cool#coastal), Dusk (https://brandsweets.com/palettes/cool#dusk). — https://brandsweets.com/colors/cadetblue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #340f57: 8 real palettes, including Blue Mono and MLB's brand system, as the lead colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), MLB (https://brandsweets.com/colors/brands/mlb-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com). — https://brandsweets.com/colors/cobalt
- **Cornflower Blue** #6495ed [pool] — Designers have shipped Cornflower Blue with #340f57: 4 real palettes, including Blue Mono and Peacock's brand system, as the supporting colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Peacock (https://brandsweets.com/colors/brands/peacocktv-com), Arctic (https://brandsweets.com/palettes/clean#arctic), Blueprint (https://brandsweets.com/palettes/technical#blueprint). — https://brandsweets.com/colors/cornflowerblue
- **Crimson** #dc143c [pool] — Crimson is paired with #340f57 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

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

- On white (#ffffff): 15.53:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.35:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #9b51e1 (4.66:1); AA: background → #8c8c8c (4.62:1); AAA: text → #b47ce9 (7:1); AAA: background → #b0b0b0 (7.16: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/340f57-b59cc4-c7cb62-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: "#340f57" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
