#4C1938

A color in the Purple, Crimson, Magenta family

#4c1938 is a color in the Purple, Crimson, Magenta family: RGB(76, 25, 56), HSL(324°, 50%, 20%), CMYK(0%, 67%, 26%, 70%). Closest named color: maroon. Contrast is 13.97:1 on white and 1.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c1938
RGBrgb(76 25 56)
RGB (legacy)rgb(76, 25, 56)
RGB %rgb(30% 10% 22%)
HSLhsl(324 50% 20%)
HSV / HSBhsv(324, 67%, 30%)
HWBhwb(324 10% 70%)
CMYKcmyk(0%, 67%, 26%, 70%)
CIELAB (D50)lab(18.12 27.33 -7.57)
LCHlch(18.12 28.36 344.52)
OKLaboklab(0.3045 0.0843 -0.021)
OKLCHoklch(0.3045 0.0868 346)
Decimal4987192

Properties

Color TonePurple, Crimson, Magenta
Closest named colormaroon ΔE 13.1
Closest web-safe color#330033
Hue324°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)17% / 15%
Relative luminance (WCAG)0.0252
Red / Green / Blue76 / 25 / 56

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.50: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 100.2 / 0 · As background with white / black text: Lc -103.3 / 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: #4c1938;
  --color-brand-oklch: oklch(30.45% 0.0868 346);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 25 56 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c1938] text-[#4c1938] border-[#4c1938]">