Skip to content
Kolorvia
#2a1229

Color #2a1229

A moderately saturated very dark magenta.

Conversions

HEX
#2a1229
RGB
rgb(42, 18, 41)
HSL
hsl(302.5, 40%, 11.8%)
HSV / HSB
hsv(302.5, 57.1%, 16.5%)
CMYK
cmyk(0%, 57.1%, 2.4%, 83.5%)
LAB
lab(9.68, 16.68, -10.39)
LCH
lch(9.68, 19.65, 328.08)
OKLCH
oklch(22.8%, 0.0547, 328.69)
HWB
hwb(302.5, 7.1%, 83.5%)

Harmony colors

Complementary

#122a13

Analogous

#1f122a
#2a1229
#2a121d

Triadic

#2a1229
#292a12
#12292a

Split-complementary

#2a1229
#1d2a12
#122a1f

Tetradic

#2a1229
#2a1312
#122a13
#12292a

Square

#2a1229
#2a1f12
#122a13
#121d2a

Shades

Color #2a1229 mixed toward black.

#230f22
#1c0c1b
#150915
#0e060e
#070307

Tints

Color #2a1229 mixed toward white.

#5f295c
#933f90
#bc62b8
#d296d0
#e9cbe7

Tones

Color #2a1229 mixed toward gray.

#281427
#261625
#241824
#221a22
#201c20

Accessibility

Aa White text on this color
17.26:1
Aa Black text on this color
1.22:1

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

Under color vision deficiencies

Protanopia

#222125 · ΔE 14.5

Deuteranopia

#232424 · ΔE 17.2

Tritanopia

#292120 · ΔE 14.2

Achromatopsia

#1b1b1b · ΔE 16.7

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#2a1229 (#2a1229) is rgb(42, 18, 41) in RGB.

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