Skip to content
Kolorvia
#4a178e

Color #4a178e

A vivid, highly saturated dark purple.

Conversions

HEX
#4a178e
RGB
rgb(74, 23, 142)
HSL
hsl(265.7, 72.1%, 32.4%)
HSV / HSB
hsv(265.7, 83.8%, 55.7%)
CMYK
cmyk(47.9%, 83.8%, 0%, 44.3%)
LAB
lab(23.74, 47.93, -55.46)
LCH
lch(23.74, 73.3, 310.83)
OKLCH
oklch(36.5%, 0.176, 295.33)
HWB
hwb(265.7, 9%, 44.3%)

Harmony colors

Complementary

#5b8e17

Analogous

#17208e
#4a178e
#86178e

Triadic

#4a178e
#8e4a17
#178e4a

Split-complementary

#4a178e
#8e8617
#208e17

Tetradic

#4a178e
#8e175b
#5b8e17
#178e4a

Square

#4a178e
#8e1720
#5b8e17
#178e86

Shades

Color #4a178e mixed toward black.

#3e1376
#310f5f
#250c47
#19082f
#0c0418

Tints

Color #4a178e mixed toward white.

#641fc0
#8039df
#a06be7
#c09cef
#dfcef7

Tones

Color #4a178e mixed toward gray.

#4c2184
#4d2b7a
#4e3570
#503f66
#51495d

Accessibility

Aa White text on this color
11.64:1
Aa Black text on this color
1.8:1

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

Under color vision deficiencies

Protanopia

#3a3a7e · ΔE 10.7

Deuteranopia

#3d4079 · ΔE 13

Tritanopia

#486e6b · ΔE 32.9

Achromatopsia

#383838 · ΔE 27.7

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

Code

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

Related colors

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

Frequently asked questions

#4a178e (#4a178e) is rgb(74, 23, 142) in RGB.

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