Skip to content
Kolorvia
#301f42

Color #301f42

A muted very dark purple.

Conversions

HEX
#301f42
RGB
rgb(48, 31, 66)
HSL
hsl(269.1, 36.1%, 19%)
HSV / HSB
hsv(269.1, 53%, 25.9%)
CMYK
cmyk(27.3%, 53%, 0%, 74.1%)
LAB
lab(15.5, 16.65, -19.17)
LCH
lch(15.5, 25.39, 310.98)
OKLCH
oklch(27.8%, 0.0654, 304.98)
HWB
hwb(269.1, 12.2%, 74.1%)

Harmony colors

Complementary

#31421f

Analogous

#1f1f42
#301f42
#411f42

Triadic

#301f42
#42301f
#1f4230

Split-complementary

#301f42
#42411f
#1f421f

Tetradic

#301f42
#421f31
#31421f
#1f4230

Square

#301f42
#421f1f
#31421f
#1f4241

Shades

Color #301f42 mixed toward black.

#281a37
#20152c
#180f21
#100a16
#08050b

Tints

Color #301f42 mixed toward white.

#523571
#744ba0
#9772bd
#b9a1d3
#dcd0e9

Tones

Color #301f42 mixed toward gray.

#30223f
#30253c
#302839
#302b36
#302e33

Accessibility

Aa White text on this color
15:1
Aa Black text on this color
1.4:1

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

Under color vision deficiencies

Protanopia

#2a293c · ΔE 8.8

Deuteranopia

#2a2c3a · ΔE 12

Tritanopia

#2f3635 · ΔE 20.9

Achromatopsia

#272727 · ΔE 18.2

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

Code

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

Related colors

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

Frequently asked questions

#301f42 (#301f42) is rgb(48, 31, 66) in RGB.

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