#4C1947

A color in the Purple, Crimson, Magenta family

#4c1947 is a color in the Purple, Crimson, Magenta family: RGB(76, 25, 71), HSL(306°, 50%, 20%), CMYK(0%, 67%, 7%, 70%). Closest named color: indigo. Contrast is 13.66:1 on white and 1.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c1947
RGBrgb(76 25 71)
RGB (legacy)rgb(76, 25, 71)
RGB %rgb(30% 10% 28%)
HSLhsl(306 50% 20%)
HSV / HSBhsv(306, 67%, 30%)
HWBhwb(306 10% 70%)
CMYKcmyk(0%, 67%, 7%, 70%)
CIELAB (D50)lab(18.74 29.28 -17.02)
LCHlch(18.74 33.87 329.83)
OKLaboklab(0.3124 0.0876 -0.0472)
OKLCHoklch(0.3124 0.0995 331.69)
Decimal4987207

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 10.9
Closest web-safe color#330033
Hue306°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)18% / 15%
Relative luminance (WCAG)0.0269
Red / Green / Blue76 / 25 / 71

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.66:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.54: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.7 / 0 · As background with white / black text: Lc -102.9 / 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: #4c1947;
  --color-brand-oklch: oklch(31.24% 0.0995 331.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 25 71 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c1947] text-[#4c1947] border-[#4c1947]">