Skip to content
Kolorvia
#2e1b54

Color #2e1b54

A moderately saturated dark purple.

Conversions

HEX
#2e1b54
RGB
rgb(46, 27, 84)
HSL
hsl(260, 51.4%, 21.8%)
HSV / HSB
hsv(260, 67.9%, 32.9%)
CMYK
cmyk(45.2%, 67.9%, 0%, 67.1%)
LAB
lab(15.51, 24.24, -31.51)
LCH
lch(15.51, 39.75, 307.57)
OKLCH
oklch(28.2%, 0.0988, 294.57)
HWB
hwb(260, 10.6%, 67.1%)

Harmony colors

Complementary

#41541b

Analogous

#1b2554
#2e1b54
#4b1b54

Triadic

#2e1b54
#542e1b
#1b542e

Split-complementary

#2e1b54
#544b1b
#25541b

Tetradic

#2e1b54
#541b41
#41541b
#1b542e

Square

#2e1b54
#541b25
#41541b
#1b544b

Shades

Color #2e1b54 mixed toward black.

#261746
#1f1238
#170e2a
#0f091c
#08050e

Tints

Color #2e1b54 mixed toward white.

#4a2b86
#653bb9
#8a68cf
#b19adf
#d8cdef

Tones

Color #2e1b54 mixed toward gray.

#30204f
#31254b
#332946
#342e41
#36333c

Accessibility

Aa White text on this color
14.99:1
Aa Black text on this color
1.4:1

White text reads better on this background (14.99:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#27274b · ΔE 6.9

Deuteranopia

#282948 · ΔE 8.5

Tritanopia

#2d4240 · ΔE 25.3

Achromatopsia

#272727 · ΔE 22.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #2e1b54;
Tailwind (arbitrary value)
bg-[#2e1b54]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#2e1b54 (#2e1b54) is rgb(46, 27, 84) in RGB.

No, #2e1b54 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #2e1b54, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.