#2E1065 — Tints, Shades & Color Values
#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.
Color Values
| Hex | #2E1065 |
|---|---|
| RGB | rgb(46, 16, 101) |
| HSL | hsl(261, 73%, 23%) |
| HSV / HSB | 261°, 84%, 40% |
| Nearest named | midnightblue (#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.
-
10% tint
#432874 -
20% tint
#584084 -
30% tint
#6d5893 -
40% tint
#8270a3 -
50% tint
#9788b2 -
60% tint
#ab9fc1 -
70% tint
#c0b7d1 -
80% tint
#d5cfe0 -
90% tint
#eae7f0
Shades of #2E1065 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#290e5b -
20% shade
#250d51 -
30% shade
#200b47 -
40% shade
#1c0a3d -
50% shade
#170833 -
60% shade
#120628 -
70% shade
#0e051e -
80% shade
#090314 -
90% shade
#05020a
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
-
What color is #2E1065?
#2E1065 is a dark, vivid violet —
rgb(46, 16, 101). Its nearest CSS named color ismidnightblue. In Tailwind CSS it isviolet-950. -
How do I make tints and shades of #2E1065?
Mix #2E1065 with white for tints and with black for shades. A 20% tint of #2E1065 is
#584084and a 20% shade is#250d51— the full 10%–90% ramps are precomputed on this page, or open #2E1065 in the generator for finer steps. -
What text color is readable on #2E1065?
White text gives the strongest contrast on a #2E1065 background at 15.24:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #2E1065?
violet-950— use it asbg-violet-950,text-violet-950, orborder-violet-950. The full violet 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#2E1065? Put it on a free link-in-bio page →