#4E1237

A color in the Purple, Crimson, Magenta family

#4e1237 is a color in the Purple, Crimson, Magenta family: RGB(78, 18, 55), HSL(323°, 63%, 19%), CMYK(0%, 77%, 29%, 69%). Closest named color: maroon. Contrast is 14.33:1 on white and 1.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e1237
RGBrgb(78 18 55)
RGB (legacy)rgb(78, 18, 55)
RGB %rgb(31% 7% 22%)
HSLhsl(323 63% 19%)
HSV / HSBhsv(323, 77%, 31%)
HWBhwb(323 7% 69%)
CMYKcmyk(0%, 77%, 29%, 69%)
CIELAB (D50)lab(17.27 31.11 -8.09)
LCHlch(17.27 32.15 345.43)
OKLaboklab(0.2987 0.0966 -0.0225)
OKLCHoklch(0.2987 0.0992 346.86)
Decimal5116471

Properties

Color TonePurple, Crimson, Magenta
Closest named colormaroon ΔE 13.1
Closest web-safe color#660033
Hue323°
Saturation (HSL / HSV)63% / 77%
Lightness (HSL)19%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)16% / 13%
Relative luminance (WCAG)0.0233
Red / Green / Blue78 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.47: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.4 / 0 · As background with white / black text: Lc -103.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: #4e1237;
  --color-brand-oklch: oklch(29.87% 0.0992 346.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e1237] text-[#4e1237] border-[#4e1237]">