Skip to content
Kolorvia
#40253a

Color #40253a

A muted very dark magenta.

Conversions

HEX
#40253a
RGB
rgb(64, 37, 58)
HSL
hsl(313.3, 26.7%, 19.8%)
HSV / HSB
hsv(313.3, 42.2%, 25.1%)
CMYK
cmyk(0%, 42.2%, 9.4%, 74.9%)
LAB
lab(18.88, 16.62, -8.18)
LCH
lch(18.88, 18.52, 333.79)
OKLCH
oklch(30.7%, 0.0526, 335.29)
HWB
hwb(313.3, 14.5%, 74.9%)

Harmony colors

Complementary

#25402b

Analogous

#382540
#40253a
#40252d

Triadic

#40253a
#3a4025
#253a40

Split-complementary

#40253a
#2d4025
#254038

Tetradic

#40253a
#402b25
#25402b
#253a40

Square

#40253a
#403825
#25402b
#252d40

Shades

Color #40253a mixed toward black.

#351f30
#2b1927
#20131d
#150c13
#0b060a

Tints

Color #40253a mixed toward white.

#6b3e61
#965788
#b47da8
#cda9c5
#e6d4e2

Tones

Color #40253a mixed toward gray.

#3e2739
#3b2a37
#392c36
#372e35
#353034

Accessibility

Aa White text on this color
13.6:1
Aa Black text on this color
1.54:1

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

Under color vision deficiencies

Protanopia

#363636 · ΔE 16.6

Deuteranopia

#383935 · ΔE 20.7

Tritanopia

#3f3231 · ΔE 12.1

Achromatopsia

#2e2e2e · ΔE 16.4

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

Code

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

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#40253a (#40253a) is rgb(64, 37, 58) in RGB.

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