# #331f98

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

## Values

- Hex: `#331f98`
- RGB: rgb(51, 31, 152)
- HSL: hsl(250, 66%, 36%)
- OKLCH: oklch(0.36 0.182 279.6)
- Relative luminance: 0.0395
- Nearest named color: Depths of Night (#2c319b, Δ 3.419) — https://brandsweets.com/colors/depths-of-night
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/331f98

## Tints & shades

- Tints (toward white): #3c24b2, #452acb, #5a41d8, #705add, #8673e2, #9c8de8, #b2a6ed, #ccc4f3, #e2ddf8, #f8f7fd
- Shades (toward black): #2f1d8c, #2b1a7f, #25176e, #211461, #1d1155, #180f48, #140c3b, #0e092a, #0a061e, #060311

## Harmonies

- Complementary: #84981f
- Analogous: #1f4898, #701f98
- Triadic: #98331f, #1f9833
- Split-complementary: #98701f, #48981f
- Tetradic: #981f48, #84981f, #1f9870

## Colors that go with #331f98

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

- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #331f98'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), 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
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #331f98, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), Pfizer (https://brandsweets.com/colors/brands/pfizer-com), CVS (https://brandsweets.com/colors/brands/cvs-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #331f98 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), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #331f98: 6 real palettes, including Warbyparker's brand system and Unilever's brand system, as the accent. Seen in: Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #331f98: 4 real palettes, including Nintendo's brand system and Datadog's brand system, as the accent. Seen in: Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com), 3M (https://brandsweets.com/colors/brands/3m-com), MLB (https://brandsweets.com/colors/brands/mlb-com). — https://brandsweets.com/colors/firebrick
- **Red** #ff0000 [pool] — Red is paired with #331f98 in 4 real palettes, including Walgreens's brand system and 3M's brand system, as the supporting colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), 3M (https://brandsweets.com/colors/brands/3m-com), Twitch (https://brandsweets.com/colors/brands/twitch-tv), Hyundai (https://brandsweets.com/colors/brands/hyundaiusa-com). — https://brandsweets.com/colors/red
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #331f98 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 #331f98: 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.73:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.79:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7762df (4.6:1); AA: background → #a1a1a1 (4.54:1); AAA: text → #9888e7 (7.01:1); AAA: background → #c9c9c9 (7.08:1)

## Brands using this color

- **dbt Labs** — accent #3d189a (Δ 1.926) — 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/331f98-a79cc4-dfb14e-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: "#331f98" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
