Skip to content
Kolorvia
#42115f

Color #42115f

A moderately saturated dark purple.

Conversions

HEX
#42115f
RGB
rgb(66, 17, 95)
HSL
hsl(277.7, 69.6%, 22%)
HSV / HSB
hsv(277.7, 82.1%, 37.3%)
CMYK
cmyk(30.5%, 82.1%, 0%, 62.7%)
LAB
lab(17.39, 37.11, -35.71)
LCH
lch(17.39, 51.5, 316.1)
OKLCH
oklch(30.5%, 0.1305, 309.03)
HWB
hwb(277.7, 6.7%, 62.7%)

Harmony colors

Complementary

#2e5f11

Analogous

#1b115f
#42115f
#5f1155

Triadic

#42115f
#5f4211
#115f42

Split-complementary

#42115f
#555f11
#115f1b

Tetradic

#42115f
#5f112e
#2e5f11
#115f42

Square

#42115f
#5f1b11
#2e5f11
#11555f

Shades

Color #42115f mixed toward black.

#370e4f
#2c0b3f
#210930
#160620
#0b0310

Tints

Color #42115f mixed toward white.

#691b97
#9025d0
#ad56e1
#c98feb
#e4c7f5

Tones

Color #42115f mixed toward gray.

#401859
#3f1e52
#3d254c
#3b2b45
#3a323f

Accessibility

Aa White text on this color
14.22:1
Aa Black text on this color
1.48:1

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

Under color vision deficiencies

Protanopia

#333354 · ΔE 13.5

Deuteranopia

#353851 · ΔE 15.9

Tritanopia

#404947 · ΔE 25

Achromatopsia

#2b2b2b · ΔE 24.6

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

Code

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

Related colors

Dark Orchid #9932cc
Indigo #4b0082
Dark Violet #9400d3
Blue Violet #8a2be2
Rebecca Purple #663399
Medium Orchid #ba55d3

Frequently asked questions

#42115f (#42115f) is rgb(66, 17, 95) in RGB.

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