Skip to content
Kolorvia
#301a2a

Color #301a2a

A muted very dark magenta.

Conversions

HEX
#301a2a
RGB
rgb(48, 26, 42)
HSL
hsl(316.4, 29.7%, 14.5%)
HSV / HSB
hsv(316.4, 45.8%, 18.8%)
CMYK
cmyk(0%, 45.8%, 12.5%, 81.2%)
LAB
lab(12.83, 13.93, -6.23)
LCH
lch(12.83, 15.26, 335.9)
OKLCH
oklch(25.4%, 0.0437, 337.54)
HWB
hwb(316.4, 10.2%, 81.2%)

Harmony colors

Complementary

#1a3020

Analogous

#2b1a30
#301a2a
#301a1f

Triadic

#301a2a
#2a301a
#1a2a30

Split-complementary

#301a2a
#1f301a
#1a302b

Tetradic

#301a2a
#30201a
#1a3020
#1a2a30

Square

#301a2a
#302b1a
#1a3020
#1a1f30

Shades

Color #301a2a mixed toward black.

#281623
#20111c
#180d15
#10090e
#080407

Tints

Color #301a2a mixed toward white.

#5f3453
#8e4d7c
#b272a1
#cca1c0
#e5d0e0

Tones

Color #301a2a mixed toward gray.

#2e1c29
#2c1e28
#2a1f27
#292127
#272326

Accessibility

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

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

Under color vision deficiencies

Protanopia

#282827 · ΔE 15.6

Deuteranopia

#292b26 · ΔE 20.1

Tritanopia

#2f2423 · ΔE 10.5

Achromatopsia

#212121 · ΔE 14.6

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#301a2a (#301a2a) is rgb(48, 26, 42) in RGB.

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