Skip to content
Kolorvia
#2f104b

Color #2f104b

A moderately saturated very dark purple.

Conversions

HEX
#2f104b
RGB
rgb(47, 16, 75)
HSL
hsl(271.5, 64.8%, 17.8%)
HSV / HSB
hsv(271.5, 78.7%, 29.4%)
CMYK
cmyk(37.3%, 78.7%, 0%, 70.6%)
LAB
lab(12.5, 28.34, -30.23)
LCH
lch(12.5, 41.44, 313.15)
OKLCH
oklch(25.8%, 0.1036, 303.9)
HWB
hwb(271.5, 6.3%, 70.6%)

Harmony colors

Complementary

#2c4b10

Analogous

#11104b
#2f104b
#4b1049

Triadic

#2f104b
#4b2f10
#104b2f

Split-complementary

#2f104b
#494b10
#104b11

Tetradic

#2f104b
#4b102c
#2c4b10
#104b2f

Square

#2f104b
#4b1110
#2c4b10
#10494b

Shades

Color #2f104b mixed toward black.

#270d3e
#1f0b32
#170825
#100519
#08030c

Tints

Color #2f104b mixed toward white.

#531c84
#7729be
#9a52da
#bb8ce6
#ddc5f3

Tones

Color #2f104b mixed toward gray.

#2f1546
#2e1a41
#2e1f3c
#2e2437
#2e2832

Accessibility

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

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

Under color vision deficiencies

Protanopia

#252542 · ΔE 10.6

Deuteranopia

#262840 · ΔE 12.5

Tritanopia

#2e3a38 · ΔE 24.2

Achromatopsia

#212121 · ΔE 22.8

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

Code

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

Related colors

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

Frequently asked questions

#2f104b (#2f104b) is rgb(47, 16, 75) in RGB.

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