#4C1946

A color in the Purple, Crimson, Magenta family

#4c1946 is a color in the Purple, Crimson, Magenta family: RGB(76, 25, 70), HSL(307°, 50%, 20%), CMYK(0%, 67%, 8%, 70%). Closest named color: indigo. Contrast is 13.68:1 on white and 1.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c1946
RGBrgb(76 25 70)
RGB (legacy)rgb(76, 25, 70)
RGB %rgb(30% 10% 27%)
HSLhsl(307 50% 20%)
HSV / HSBhsv(307, 67%, 30%)
HWBhwb(307 10% 70%)
CMYKcmyk(0%, 67%, 8%, 70%)
CIELAB (D50)lab(18.7 29.14 -16.41)
LCHlch(18.7 33.44 330.62)
OKLaboklab(0.3118 0.0874 -0.0454)
OKLCHoklch(0.3118 0.0985 332.54)
Decimal4987206

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.53: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: #4c1946;
  --color-brand-oklch: oklch(31.18% 0.0985 332.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 25 70 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c1946] text-[#4c1946] border-[#4c1946]">