Skip to content
Kolorvia
#2f1438

Color #2f1438

A moderately saturated very dark purple.

Conversions

HEX
#2f1438
RGB
rgb(47, 20, 56)
HSL
hsl(285, 47.4%, 14.9%)
HSV / HSB
hsv(285, 64.3%, 22%)
CMYK
cmyk(16.1%, 64.3%, 0%, 78%)
LAB
lab(11.89, 20.88, -17.82)
LCH
lch(11.89, 27.45, 319.52)
OKLCH
oklch(24.9%, 0.0729, 317)
HWB
hwb(285, 7.8%, 78%)

Harmony colors

Complementary

#1d3814

Analogous

#1d1438
#2f1438
#38142f

Triadic

#2f1438
#382f14
#14382f

Split-complementary

#2f1438
#2f3814
#14381d

Tetradic

#2f1438
#38141d
#1d3814
#14382f

Square

#2f1438
#381d14
#1d3814
#142f38

Shades

Color #2f1438 mixed toward black.

#27112f
#1f0d25
#170a1c
#100713
#080309

Tints

Color #2f1438 mixed toward white.

#5c276d
#883aa3
#ac5fc6
#c894d9
#e3caec

Tones

Color #2f1438 mixed toward gray.

#2d1735
#2c1a32
#2a1d2f
#29202c
#272329

Accessibility

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

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

Under color vision deficiencies

Protanopia

#262632 · ΔE 14.2

Deuteranopia

#272930 · ΔE 17.2

Tritanopia

#2e2c2b · ΔE 19.9

Achromatopsia

#1f1f1f · ΔE 19.6

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

Code

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

Related colors

Dark Violet #9400d3
Medium Orchid #ba55d3
Dark Orchid #9932cc
Indigo #4b0082
Blue Violet #8a2be2
Dark Magenta #8b008b

Frequently asked questions

#2f1438 (#2f1438) is rgb(47, 20, 56) in RGB.

No, #2f1438 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #2f1438, 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.