Skip to content
Kolorvia
#301f3a

Color #301f3a

A muted very dark purple.

Conversions

HEX
#301f3a
RGB
rgb(48, 31, 58)
HSL
hsl(277.8, 30.3%, 17.5%)
HSV / HSB
hsv(277.8, 46.6%, 22.7%)
CMYK
cmyk(17.2%, 46.6%, 0%, 77.3%)
LAB
lab(15.03, 14.41, -14.3)
LCH
lch(15.03, 20.3, 315.22)
OKLCH
oklch(27.3%, 0.0533, 312.19)
HWB
hwb(277.8, 12.2%, 77.3%)

Harmony colors

Complementary

#293a1f

Analogous

#231f3a
#301f3a
#3a1f37

Triadic

#301f3a
#3a301f
#1f3a30

Split-complementary

#301f3a
#373a1f
#1f3a23

Tetradic

#301f3a
#3a1f29
#293a1f
#1f3a30

Square

#301f3a
#3a231f
#293a1f
#1f373a

Shades

Color #301f3a mixed toward black.

#281a30
#201527
#18101d
#100a13
#08050a

Tints

Color #301f3a mixed toward white.

#563868
#7c5096
#9e76b6
#bea4ce
#dfd1e7

Tones

Color #301f3a mixed toward gray.

#302138
#2f2436
#2e2633
#2e2831
#2d2a2f

Accessibility

Aa White text on this color
15.19:1
Aa Black text on this color
1.38:1

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

Under color vision deficiencies

Protanopia

#2a2935 · ΔE 10.1

Deuteranopia

#2a2c34 · ΔE 13.4

Tritanopia

#2f302f · ΔE 17.5

Achromatopsia

#262626 · ΔE 16.3

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

Code

CSS
background-color: #301f3a;
Tailwind (arbitrary value)
bg-[#301f3a]

Related colors

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

Frequently asked questions

#301f3a (#301f3a) is rgb(48, 31, 58) in RGB.

No, #301f3a 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 #301f3a, 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.