Color specimenNo. 03018853

#2E1065

Bright Dark Indigo

A deterministic reference card for #2E1065. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
46, 16, 101
HSL
261°, 73%, 23%
Text
White on top

Tailwind CSS · violet

tailwind · violet 950

The Tailwind CSS utility classes bg-violet-950, text-violet-950, and friends all reference this hex value.

Scale context · violet

Click any step to jump to its landing page.

Class name
violet-950
Hex
#2E1065
Closest CSS named color
midnightblue
Full color breakdown
/color/2e1065

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #2E1065 as the text color.

15.24:1
AA passAAA passLarge pass

Rating · AAA

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #2E1065 as the text color.

1.38:1
AA failAAA failLarge fail

Rating · Fail

Recommendation

When using #2E1065 as a background, pair it with #ffffff text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in violet