Skip to content
Kolorvia
#2a1a32

Color #2a1a32

A muted very dark purple.

Conversions

HEX
#2a1a32
RGB
rgb(42, 26, 50)
HSL
hsl(280, 31.6%, 14.9%)
HSV / HSB
hsv(280, 48%, 19.6%)
CMYK
cmyk(16%, 48%, 0%, 80.4%)
LAB
lab(12.36, 13.45, -12.82)
LCH
lch(12.36, 18.58, 316.37)
OKLCH
oklch(25%, 0.049, 313.76)
HWB
hwb(280, 10.2%, 80.4%)

Harmony colors

Complementary

#22321a

Analogous

#1e1a32
#2a1a32
#321a2e

Triadic

#2a1a32
#322a1a
#1a322a

Split-complementary

#2a1a32
#2e321a
#1a321e

Tetradic

#2a1a32
#321a22
#22321a
#1a322a

Square

#2a1a32
#321e1a
#22321a
#1a2e32

Shades

Color #2a1a32 mixed toward black.

#23162a
#1c1121
#150d19
#0e0911
#070408

Tints

Color #2a1a32 mixed toward white.

#523362
#7a4b91
#9e70b5
#bea0ce
#dfcfe6

Tones

Color #2a1a32 mixed toward gray.

#291c30
#291e2e
#28202c
#27222a
#272428

Accessibility

Aa White text on this color
16.25:1
Aa Black text on this color
1.29:1

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

Under color vision deficiencies

Protanopia

#24242d · ΔE 11

Deuteranopia

#25262c · ΔE 13

Tritanopia

#292928 · ΔE 16.7

Achromatopsia

#202020 · ΔE 15.5

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

Code

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

Related colors

Dark Orchid #9932cc
Dark Violet #9400d3
Indigo #4b0082
Medium Orchid #ba55d3
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#2a1a32 (#2a1a32) is rgb(42, 26, 50) in RGB.

No, #2a1a32 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #2a1a32, 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.