Skip to content
Kolorvia
#402448

Color #402448

A muted dark purple.

Conversions

HEX
#402448
RGB
rgb(64, 36, 72)
HSL
hsl(286.7, 33.3%, 21.2%)
HSV / HSB
hsv(286.7, 50%, 28.2%)
CMYK
cmyk(11.1%, 50%, 0%, 71.8%)
LAB
lab(19.31, 20.49, -17.16)
LCH
lch(19.31, 26.73, 320.05)
OKLCH
oklch(31.3%, 0.0715, 318.46)
HWB
hwb(286.7, 14.1%, 71.8%)

Harmony colors

Complementary

#2c4824

Analogous

#2e2448
#402448
#48243e

Triadic

#402448
#484024
#244840

Split-complementary

#402448
#3e4824
#24482e

Tetradic

#402448
#48242c
#2c4824
#244840

Square

#402448
#482e24
#2c4824
#243e48

Shades

Color #402448 mixed toward black.

#351e3c
#2b1830
#201224
#150c18
#0b060c

Tints

Color #402448 mixed toward white.

#683a75
#8f51a1
#ad79bc
#c8a6d2
#e4d2e9

Tones

Color #402448 mixed toward gray.

#3e2745
#3d2a42
#3b2d3f
#39303c
#383339

Accessibility

Aa White text on this color
13.43:1
Aa Black text on this color
1.56:1

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

Under color vision deficiencies

Protanopia

#363641 · ΔE 14.7

Deuteranopia

#373940 · ΔE 17.2

Tritanopia

#3f3b3a · ΔE 19

Achromatopsia

#2f2f2f · ΔE 19.3

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#402448 (#402448) is rgb(64, 36, 72) in RGB.

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