Skip to content
Kolorvia
#401f58

Color #401f58

A moderately saturated dark purple.

Conversions

HEX
#401f58
RGB
rgb(64, 31, 88)
HSL
hsl(274.7, 47.9%, 23.3%)
HSV / HSB
hsv(274.7, 64.8%, 34.5%)
CMYK
cmyk(27.3%, 64.8%, 0%, 65.5%)
LAB
lab(19.12, 27.69, -28.27)
LCH
lch(19.12, 39.57, 314.41)
OKLCH
oklch(31.5%, 0.1016, 308.33)
HWB
hwb(274.7, 12.2%, 65.5%)

Harmony colors

Complementary

#37581f

Analogous

#231f58
#401f58
#581f53

Triadic

#401f58
#58401f
#1f5840

Split-complementary

#401f58
#53581f
#1f5823

Tetradic

#401f58
#581f37
#37581f
#1f5840

Square

#401f58
#58231f
#37581f
#1f5358

Shades

Color #401f58 mixed toward black.

#351a49
#2b153b
#200f2c
#150a1d
#0b050f

Tints

Color #401f58 mixed toward white.

#633088
#8641b8
#a56ecc
#c39fdd
#e1cfee

Tones

Color #401f58 mixed toward gray.

#3f2453
#3e284e
#3e2d4a
#3d3245
#3c3740

Accessibility

Aa White text on this color
13.51:1
Aa Black text on this color
1.55:1

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

Under color vision deficiencies

Protanopia

#35344f · ΔE 11.4

Deuteranopia

#36384c · ΔE 14.2

Tritanopia

#3f4644 · ΔE 23.8

Achromatopsia

#2e2e2e · ΔE 22.5

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

Code

CSS
background-color: #401f58;
Tailwind (arbitrary value)
bg-[#401f58]

Related colors

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

Frequently asked questions

#401f58 (#401f58) is rgb(64, 31, 88) in RGB.

No, #401f58 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 #401f58, 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.