#4E178C color

#4E178C rgb(78, 23, 140)
Shades of purple

The hex color #4E178C is a dark, moderate violet.

In the RGB color model it is made of 30.6% red, 9% green and 54.9% blue (78, 23, 140).

Its hue angle is 268°, with 72% saturation and 32% lightness. For print, the CMYK equivalent is 44% cyan, 84% magenta, 0% yellow and 45% black.

The closest named color is Occult (#4B1E87), a difference of 1.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 11.51:1).

#4E178C color codes

HEX#4E178C
RGBrgb(78, 23, 140)
RGB percentrgb(30.6%, 9%, 54.9%)
HSLhsl(268, 72%, 32%)
HSV / HSBhsv(268, 84%, 55%)
CMYKcmyk(44%, 84%, 0%, 45%)
CIE LABlab(24.08, 47.99, -53.64)
CIE LCHlch(24.08, 71.97, 311.82)
CIE XYZxyz(8.181, 4.126, 25.171)
Decimal5117836
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4E178C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #4E178CRatioAAAAAAA large
Sample text1.83:1FailFailFail
Sample text11.51:1PassPassPass
#4E178C as text onRatioAAAAAAA large
Sample text11.51:1PassPassPass
Sample text1.83:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #4E178C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4e178c; }
.text { color: #4e178c; }
.border { border: 2px solid #4e178c; }
.transparent { background-color: rgb(78 23 140 / 50%); }
.gradient { background: linear-gradient(to right, #4e178c, #88178c); }
Background
Text color
Border

Similar colors

Questions

What color is #4E178C?
#4E178C is a dark, moderate violet, closest to the named color Occult. It belongs to the purple family of colors.
What is the RGB value of #4E178C?
The RGB value is 78, 23, 140: 78 red, 23 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #4E178C?
The complementary color is #558C17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4E178C?
White text. Black text has a contrast ratio of 1.83:1 and white text 11.51:1. WCAG asks for at least 4.5:1 for normal text.