Skip to content
Kolorvia
#2a122e

Color #2a122e

A moderately saturated very dark magenta.

Conversions

HEX
#2a122e
RGB
rgb(42, 18, 46)
HSL
hsl(291.4, 43.8%, 12.5%)
HSV / HSB
hsv(291.4, 60.9%, 18%)
CMYK
cmyk(8.7%, 60.9%, 0%, 82%)
LAB
lab(9.97, 17.89, -13.64)
LCH
lch(9.97, 22.5, 322.68)
OKLCH
oklch(23.1%, 0.0609, 321.74)
HWB
hwb(291.4, 7.1%, 82%)

Harmony colors

Complementary

#162e12

Analogous

#1c122e
#2a122e
#2e1224

Triadic

#2a122e
#2e2a12
#122e2a

Split-complementary

#2a122e
#242e12
#122e1c

Tetradic

#2a122e
#2e1216
#162e12
#122e2a

Square

#2a122e
#2e1c12
#162e12
#12242e

Shades

Color #2a122e mixed toward black.

#230f26
#1c0c1f
#150917
#0e060f
#070308

Tints

Color #2a122e mixed toward white.

#5b2763
#8b3c99
#b25fc0
#cc94d5
#e5caea

Tones

Color #2a122e mixed toward gray.

#28142c
#271729
#251927
#231b25
#221e22

Accessibility

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

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

Under color vision deficiencies

Protanopia

#222129 · ΔE 13.7

Deuteranopia

#232428 · ΔE 16.5

Tritanopia

#292523 · ΔE 17.8

Achromatopsia

#1b1b1b · ΔE 17.8

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

Code

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

Related colors

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

Frequently asked questions

#2a122e (#2a122e) is rgb(42, 18, 46) in RGB.

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