Skip to content
Kolorvia
#2a1a27

Color #2a1a27

A muted very dark magenta.

Conversions

HEX
#2a1a27
RGB
rgb(42, 26, 39)
HSL
hsl(311.3, 23.5%, 13.3%)
HSV / HSB
hsv(311.3, 38.1%, 16.5%)
CMYK
cmyk(0%, 38.1%, 7.1%, 83.5%)
LAB
lab(11.81, 10.65, -5.66)
LCH
lch(11.81, 12.06, 332.01)
OKLCH
oklch(24.4%, 0.0339, 333.36)
HWB
hwb(311.3, 10.2%, 83.5%)

Harmony colors

Complementary

#1a2a1d

Analogous

#251a2a
#2a1a27
#2a1a1f

Triadic

#2a1a27
#272a1a
#1a272a

Split-complementary

#2a1a27
#1f2a1a
#1a2a25

Tetradic

#2a1a27
#2a1d1a
#1a2a1d
#1a272a

Square

#2a1a27
#2a251a
#1a2a1d
#1a1f2a

Shades

Color #2a1a27 mixed toward black.

#231620
#1c111a
#150d13
#0e090d
#070406

Tints

Color #2a1a27 mixed toward white.

#573651
#85527b
#aa76a1
#c7a4c0
#e3d1e0

Tones

Color #2a1a27 mixed toward gray.

#291b26
#271d25
#261e24
#251f24
#232123

Accessibility

Aa White text on this color
16.46:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#242424 · ΔE 12.3

Deuteranopia

#252624 · ΔE 14.8

Tritanopia

#292221 · ΔE 9.7

Achromatopsia

#1f1f1f · ΔE 12.3

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

Code

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

Related colors

Orchid #da70d6
Medium Violet Red #c71585
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#2a1a27 (#2a1a27) is rgb(42, 26, 39) in RGB.

No, #2a1a27 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 #2a1a27, 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.