Skip to content
Kolorvia
#402467

Color #402467

A moderately saturated dark purple.

Conversions

HEX
#402467
RGB
rgb(64, 36, 103)
HSL
hsl(265.1, 48.2%, 27.3%)
HSV / HSB
hsv(265.1, 65%, 40.4%)
CMYK
cmyk(37.9%, 65%, 0%, 59.6%)
LAB
lab(21.32, 28.85, -34.63)
LCH
lch(21.32, 45.07, 309.8)
OKLCH
oklch(33.4%, 0.113, 299.47)
HWB
hwb(265.1, 14.1%, 59.6%)

Harmony colors

Complementary

#4b6724

Analogous

#242a67
#402467
#622467

Triadic

#402467
#674024
#246740

Split-complementary

#402467
#676224
#2a6724

Tetradic

#402467
#67244b
#4b6724
#246740

Square

#402467
#67242a
#4b6724
#246762

Shades

Color #402467 mixed toward black.

#351e56
#2b1845
#201234
#150c22
#0b0611

Tints

Color #402467 mixed toward white.

#5d3495
#7a48bf
#9b76cf
#bca3df
#ded1ef

Tones

Color #402467 mixed toward gray.

#412a62
#422f5c
#433556
#443a51
#45404b

Accessibility

Aa White text on this color
12.6:1
Aa Black text on this color
1.67:1

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

Under color vision deficiencies

Protanopia

#36365c · ΔE 9.1

Deuteranopia

#373959 · ΔE 10.8

Tritanopia

#3f5250 · ΔE 25.4

Achromatopsia

#333333 · ΔE 23.4

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

Code

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

Related colors

Rebecca Purple #663399
Medium Purple #9370db
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Dark Slate Blue #483d8b

Frequently asked questions

#402467 (#402467) is rgb(64, 36, 103) in RGB.

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