Skip to content
Kolorvia
#301a2b

Color #301a2b

A muted very dark magenta.

Conversions

HEX
#301a2b
RGB
rgb(48, 26, 43)
HSL
hsl(313.6, 29.7%, 14.5%)
HSV / HSB
hsv(313.6, 45.8%, 18.8%)
CMYK
cmyk(0%, 45.8%, 10.4%, 81.2%)
LAB
lab(12.87, 14.15, -6.88)
LCH
lch(12.87, 15.73, 334.07)
OKLCH
oklch(25.5%, 0.0448, 335.61)
HWB
hwb(313.6, 10.2%, 81.2%)

Harmony colors

Complementary

#1a301f

Analogous

#2a1a30
#301a2b
#301a20

Triadic

#301a2b
#2b301a
#1a2b30

Split-complementary

#301a2b
#20301a
#1a302a

Tetradic

#301a2b
#301f1a
#1a301f
#1a2b30

Square

#301a2b
#302a1a
#1a301f
#1a2030

Shades

Color #301a2b mixed toward black.

#281624
#20111d
#180d15
#10090e
#080407

Tints

Color #301a2b mixed toward white.

#5f3455
#8e4d7f
#b272a4
#cca1c2
#e5d0e1

Tones

Color #301a2b mixed toward gray.

#2e1c2a
#2c1e29
#2a1f28
#292127
#272326

Accessibility

Aa White text on this color
16.05:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#282828 · ΔE 15

Deuteranopia

#292b27 · ΔE 19.7

Tritanopia

#2f2524 · ΔE 11.2

Achromatopsia

#212121 · ΔE 14.8

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

Code

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

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#301a2b (#301a2b) is rgb(48, 26, 43) in RGB.

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