#2E1065 — Tints, Shades & Color Values

#2E1065

#2E1065 is a dark, vivid violet. In Tailwind CSS this exact color is the utility class violet-950 (e.g. bg-violet-950, text-violet-950). Its nearest CSS named color is midnightblue (#191970). For readable text on a #2E1065 background, white text gives the strongest contrast (15.24:1). Because it is dark, #2E1065 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.

Want to fine-tune this color interactively? Open #2E1065 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#2E1065
RGBrgb(46, 16, 101)
HSLhsl(261, 73%, 23%)
HSV / HSB261°, 84%, 40%
Nearest namedmidnightblue (#191970)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#2E1065 in Tailwind CSS (violet-950)

#2E1065 ships with Tailwind CSS as violet-950 — use it as bg-violet-950, text-violet-950, or border-violet-950. It sits at step 950 of the violet ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #2E1065 (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #2E1065 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #2E1065 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 15.24:1 — AA normal: Pass · AA large: Pass · AAA: Pass
Black text 1.38:1 — AA normal: Fail · AA large: Fail · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #2E1065 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More violet colors in the library: #3B0764 (purple-950), #4B0082, #581C87 (purple-900), #6B21A8 (purple-800), #7E22CE (purple-700), #8E44AD.

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #2E1065? Put it on a free link-in-bio page →