Skip to content
Kolorvia
#540f4d

Color #540f4d

A moderately saturated very dark magenta.

Conversions

HEX
#540f4d
RGB
rgb(84, 15, 77)
HSL
hsl(306.1, 69.7%, 19.4%)
HSV / HSB
hsv(306.1, 82.1%, 32.9%)
CMYK
cmyk(0%, 82.1%, 8.3%, 67.1%)
LAB
lab(19.07, 38.25, -20.72)
LCH
lch(19.07, 43.5, 331.56)
OKLCH
oklch(31.9%, 0.124, 332.69)
HWB
hwb(306.1, 5.9%, 67.1%)

Harmony colors

Complementary

#0f5416

Analogous

#380f54
#540f4d
#540f2a

Triadic

#540f4d
#4d540f
#0f4d54

Split-complementary

#540f4d
#2a540f
#0f5438

Tetradic

#540f4d
#54160f
#0f5416
#0f4d54

Square

#540f4d
#54380f
#0f5416
#0f2a54

Shades

Color #540f4d mixed toward black.

#460c40
#380a33
#2a0726
#1c051a
#0e020d

Tints

Color #540f4d mixed toward white.

#8e1982
#c824b7
#e051d1
#ea8be1
#f5c5f0

Tones

Color #540f4d mixed toward gray.

#4e1548
#481a44
#43203f
#3d263b
#372c36

Accessibility

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

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

Under color vision deficiencies

Protanopia

#414044 · ΔE 22.8

Deuteranopia

#444741 · ΔE 31.7

Tritanopia

#523b39 · ΔE 20.8

Achromatopsia

#2e2e2e · ΔE 23.9

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#540f4d (#540f4d) is rgb(84, 15, 77) in RGB.

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