Skip to content
Kolorvia
#862f7b

Color #862f7b

A moderately saturated dark magenta.

Conversions

HEX
#862f7b
RGB
rgb(134, 47, 123)
HSL
hsl(307.6, 48.1%, 35.5%)
HSV / HSB
hsv(307.6, 64.9%, 52.5%)
CMYK
cmyk(0%, 64.9%, 8.2%, 47.5%)
LAB
lab(35.07, 46.57, -24.92)
LCH
lch(35.07, 52.82, 331.85)
OKLCH
oklch(46%, 0.1504, 333.08)
HWB
hwb(307.6, 18.4%, 47.5%)

Harmony colors

Complementary

#2f863a

Analogous

#662f86
#862f7b
#862f4f

Triadic

#862f7b
#7b862f
#2f7b86

Split-complementary

#862f7b
#4f862f
#2f8666

Tetradic

#862f7b
#863a2f
#2f863a
#2f7b86

Square

#862f7b
#86662f
#2f863a
#2f4f86

Shades

Color #862f7b mixed toward black.

#702767
#591f52
#43173e
#2d1029
#160815

Tints

Color #862f7b mixed toward white.

#af3da0
#c65db9
#d485ca
#e3aedc
#f1d6ed

Tones

Color #862f7b mixed toward gray.

#7f3676
#783d70
#70456b
#694c65
#625360

Accessibility

Aa White text on this color
7.76:1
Aa Black text on this color
2.71:1

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

Under color vision deficiencies

Protanopia

#6b6b6e · ΔE 25.5

Deuteranopia

#6f746b · ΔE 36.4

Tritanopia

#836360 · ΔE 23.6

Achromatopsia

#525252 · ΔE 25.1

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

Code

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

Related colors

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

Frequently asked questions

#862f7b (#862f7b) is rgb(134, 47, 123) in RGB.

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