Toolman

#4C1D95 color

#4C1D95#4C1D95

The swatch above shows #4C1D95 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#4C1D95 is a dark, vivid violet, closest to the CSS named color rebeccapurple (#663399).

It is also a Tailwind CSS default: violet-900. That means you can write bg-violet-900 or text-violet-900 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#4C1D95
RGBrgb(76, 29, 149)
HSLhsl(264, 67%, 35%)
CMYKcmyk(49%, 81%, 0%, 42%)
Decimal4988309
CSScolor: #4C1D95;
Android0xFF4C1D95
SwiftUIColor(red: 0.298, green: 0.114, blue: 0.584, alpha: 1)

Accessibility and contrast

White text on #4C1D9510.95:1 — AA pass · AA large pass · AAA pass
Black text on #4C1D951.92:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #4C1D95

Each swatch keeps the hue and saturation of #4C1D95 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #4C1D95

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #4C1D95 in code

/* CSS */
.element { color: #4C1D95; background-color: #4C1D95; }
.element { color: rgb(76 29 149); }
.element { color: hsl(264 67% 35%); }

/* Tailwind */
<div class="bg-violet-900 text-white">

/* SCSS variable */
$brand: #4C1D95;

Frequently asked questions

What color is #4C1D95?

#4C1D95 is a dark, vivid violet. Its hue sits at 264° on the color wheel, with 67% saturation and 35% lightness.

What is #4C1D95 in RGB?

#4C1D95 converts to rgb(76, 29, 149) — 76 red, 29 green and 149 blue.

What is #4C1D95 in CMYK?

Approximately cmyk(49%, 81%, 0%, 42%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #4C1D95 be white or black?

White gives the better contrast ratio (10.95:1 versus 1.92:1).

What is the complementary color of #4C1D95?

#65951D — the hue directly opposite #4C1D95 on the color wheel.

Convert any color → · Browse all colors