Skip to content
Kolorvia
#2d173c

Color #2d173c

A moderately saturated very dark purple.

Conversions

HEX
#2d173c
RGB
rgb(45, 23, 60)
HSL
hsl(275.7, 44.6%, 16.3%)
HSV / HSB
hsv(275.7, 61.7%, 23.5%)
CMYK
cmyk(25%, 61.7%, 0%, 76.5%)
LAB
lab(12.59, 19.35, -19.58)
LCH
lch(12.59, 27.53, 314.66)
OKLCH
oklch(25.5%, 0.0714, 309.71)
HWB
hwb(275.7, 9%, 76.5%)

Harmony colors

Complementary

#263c17

Analogous

#1b173c
#2d173c
#3c1739

Triadic

#2d173c
#3c2d17
#173c2d

Split-complementary

#2d173c
#393c17
#173c1b

Tetradic

#2d173c
#3c1726
#263c17
#173c2d

Square

#2d173c
#3c1b17
#263c17
#17393c

Shades

Color #2d173c mixed toward black.

#261332
#1e0f28
#170c1e
#0f0814
#08040a

Tints

Color #2d173c mixed toward white.

#542b70
#7a3ea3
#9d65c4
#be98d8
#decceb

Tones

Color #2d173c mixed toward gray.

#2d1a39
#2c1d36
#2b2033
#2b2330
#2a262d

Accessibility

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

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

Under color vision deficiencies

Protanopia

#252536 · ΔE 11.3

Deuteranopia

#262834 · ΔE 14.2

Tritanopia

#2c302e · ΔE 21.6

Achromatopsia

#212121 · ΔE 19.3

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

Code

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

Related colors

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

Frequently asked questions

#2d173c (#2d173c) is rgb(45, 23, 60) in RGB.

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