#4E2C4E

A color in the Purple, Crimson, Magenta family

#4e2c4e is a color in the Purple, Crimson, Magenta family: RGB(78, 44, 78), HSL(300°, 28%, 24%), CMYK(0%, 44%, 0%, 69%). Closest named color: darkslateblue. Contrast is 11.7:1 on white and 1.79:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e2c4e
RGBrgb(78 44 78)
RGB (legacy)rgb(78, 44, 78)
RGB %rgb(31% 17% 31%)
HSLhsl(300 28% 24%)
HSV / HSBhsv(300, 44%, 31%)
HWBhwb(300 17% 69%)
CMYKcmyk(0%, 44%, 0%, 69%)
CIELAB (D50)lab(23.55 20.62 -14.31)
LCHlch(23.55 25.1 325.24)
OKLaboklab(0.35 0.0605 -0.0393)
OKLCHoklch(0.35 0.0722 326.98)
Decimal5123150

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 10.6
Closest web-safe color#663366
Hue300°
Saturation (HSL / HSV)28% / 44%
Lightness (HSL)24%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)23% / 21%
Relative luminance (WCAG)0.0397
Red / Green / Blue78 / 44 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.70:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.79: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 96.7 / 0 · As background with white / black text: Lc -100.4 / 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: #4e2c4e;
  --color-brand-oklch: oklch(35% 0.0722 326.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 44 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2c4e] text-[#4e2c4e] border-[#4e2c4e]">