Skip to content
Kolorvia
#2f173a

Color #2f173a

A moderately saturated very dark purple.

Conversions

HEX
#2f173a
RGB
rgb(47, 23, 58)
HSL
hsl(281.1, 43.2%, 15.9%)
HSV / HSB
hsv(281.1, 60.3%, 22.7%)
CMYK
cmyk(19%, 60.3%, 0%, 77.3%)
LAB
lab(12.75, 19.47, -17.89)
LCH
lch(12.75, 26.44, 317.42)
OKLCH
oklch(25.6%, 0.0695, 314.13)
HWB
hwb(281.1, 9%, 77.3%)

Harmony colors

Complementary

#223a17

Analogous

#1e173a
#2f173a
#3a1734

Triadic

#2f173a
#3a2f17
#173a2f

Split-complementary

#2f173a
#343a17
#173a1e

Tetradic

#2f173a
#3a1722
#223a17
#173a2f

Square

#2f173a
#3a1e17
#223a17
#17343a

Shades

Color #2f173a mixed toward black.

#271330
#1f0f27
#180c1d
#100813
#08040a

Tints

Color #2f173a mixed toward white.

#582b6d
#8240a0
#a565c2
#c399d6
#e1cceb

Tones

Color #2f173a mixed toward gray.

#2e1a37
#2d1d34
#2c2031
#2b232e
#2a262b

Accessibility

Aa White text on this color
16.1:1
Aa Black text on this color
1.3:1

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

Under color vision deficiencies

Protanopia

#262634 · ΔE 12.6

Deuteranopia

#282932 · ΔE 15.3

Tritanopia

#2e2e2d · ΔE 20.5

Achromatopsia

#212121 · ΔE 19.1

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

Code

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

Related colors

Dark Orchid #9932cc
Dark Violet #9400d3
Indigo #4b0082
Medium Orchid #ba55d3
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#2f173a (#2f173a) is rgb(47, 23, 58) in RGB.

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