#4C1952

A color in the Purple, Crimson, Magenta family

#4c1952 is a color in the Purple, Crimson, Magenta family: RGB(76, 25, 82), HSL(294°, 53%, 21%), CMYK(7%, 70%, 0%, 68%). Closest named color: indigo. Contrast is 13.39:1 on white and 1.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c1952
RGBrgb(76 25 82)
RGB (legacy)rgb(76, 25, 82)
RGB %rgb(30% 10% 32%)
HSLhsl(294 53% 21%)
HSV / HSBhsv(294, 70%, 32%)
HWBhwb(294 10% 68%)
CMYKcmyk(7%, 70%, 0%, 68%)
CIELAB (D50)lab(19.29 30.95 -23.64)
LCHlch(19.29 38.94 322.62)
OKLaboklab(0.3193 0.0885 -0.0658)
OKLCHoklch(0.3193 0.1103 323.35)
Decimal4987218

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 8.9
Closest web-safe color#330066
Hue294°
Saturation (HSL / HSV)53% / 70%
Lightness (HSL)21%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)18% / 16%
Relative luminance (WCAG)0.0284
Red / Green / Blue76 / 25 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 99.3 / 0 · As background with white / black text: Lc -102.5 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4c1952;
  --color-brand-oklch: oklch(31.93% 0.1103 323.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 25 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c1952] text-[#4c1952] border-[#4c1952]">