Skip to content
Kolorvia
#2a1228

Color #2a1228

A moderately saturated very dark magenta.

Conversions

HEX
#2a1228
RGB
rgb(42, 18, 40)
HSL
hsl(305, 40%, 11.8%)
HSV / HSB
hsv(305, 57.1%, 16.5%)
CMYK
cmyk(0%, 57.1%, 4.8%, 83.5%)
LAB
lab(9.63, 16.45, -9.73)
LCH
lch(9.63, 19.11, 329.4)
OKLCH
oklch(22.8%, 0.0535, 330.32)
HWB
hwb(305, 7.1%, 83.5%)

Harmony colors

Complementary

#122a14

Analogous

#20122a
#2a1228
#2a121c

Triadic

#2a1228
#282a12
#12282a

Split-complementary

#2a1228
#1c2a12
#122a20

Tetradic

#2a1228
#2a1412
#122a14
#12282a

Square

#2a1228
#2a2012
#122a14
#121c2a

Shades

Color #2a1228 mixed toward black.

#230f21
#1c0c1b
#150914
#0e060d
#070307

Tints

Color #2a1228 mixed toward white.

#5f295a
#933f8c
#bc62b4
#d296cd
#e9cbe6

Tones

Color #2a1228 mixed toward gray.

#281426
#261625
#241823
#221a21
#201c20

Accessibility

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

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

Under color vision deficiencies

Protanopia

#222124 · ΔE 14.7

Deuteranopia

#232423 · ΔE 18.6

Tritanopia

#29201f · ΔE 13.6

Achromatopsia

#1b1b1b · ΔE 16.5

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

Code

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

Related colors

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

Frequently asked questions

#2a1228 (#2a1228) is rgb(42, 18, 40) in RGB.

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