Skip to content
Kolorvia
#2f122b

Color #2f122b

A moderately saturated very dark magenta.

Conversions

HEX
#2f122b
RGB
rgb(47, 18, 43)
HSL
hsl(308.3, 44.6%, 12.7%)
HSV / HSB
hsv(308.3, 61.7%, 18.4%)
CMYK
cmyk(0%, 61.7%, 8.5%, 81.6%)
LAB
lab(10.64, 19.04, -10.32)
LCH
lch(10.64, 21.66, 331.54)
OKLCH
oklch(23.8%, 0.0613, 332.72)
HWB
hwb(308.3, 7.1%, 81.6%)

Harmony colors

Complementary

#122f16

Analogous

#24122f
#2f122b
#2f121c

Triadic

#2f122b
#2b2f12
#122b2f

Split-complementary

#2f122b
#1c2f12
#122f24

Tetradic

#2f122b
#2f1612
#122f16
#122b2f

Square

#2f122b
#2f2412
#122f16
#121c2f

Shades

Color #2f122b mixed toward black.

#270f24
#1f0c1d
#170915
#10060e
#080307

Tints

Color #2f122b mixed toward white.

#64265c
#9a3b8d
#c15eb4
#d694cd
#eac9e6

Tones

Color #2f122b mixed toward gray.

#2c1429
#2a1727
#281926
#251c24
#231e22

Accessibility

Aa White text on this color
16.9:1
Aa Black text on this color
1.24:1

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

Under color vision deficiencies

Protanopia

#252526 · ΔE 17.6

Deuteranopia

#272925 · ΔE 23.3

Tritanopia

#2e2221 · ΔE 14

Achromatopsia

#1d1d1d · ΔE 17.9

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

Code

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

Related colors

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

Frequently asked questions

#2f122b (#2f122b) is rgb(47, 18, 43) in RGB.

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