#4E2D4E

A color in the Purple, Crimson, Magenta family

#4e2d4e is a color in the Purple, Crimson, Magenta family: RGB(78, 45, 78), HSL(300°, 27%, 24%), CMYK(0%, 42%, 0%, 69%). Closest named color: darkslateblue. Contrast is 11.61:1 on white and 1.81:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e2d4e
RGBrgb(78 45 78)
RGB (legacy)rgb(78, 45, 78)
RGB %rgb(31% 18% 31%)
HSLhsl(300 27% 24%)
HSV / HSBhsv(300, 42%, 31%)
HWBhwb(300 18% 69%)
CMYKcmyk(0%, 42%, 0%, 69%)
CIELAB (D50)lab(23.8 20.02 -13.93)
LCHlch(23.8 24.39 325.17)
OKLaboklab(0.3519 0.0588 -0.0383)
OKLCHoklch(0.3519 0.0701 326.94)
Decimal5123406

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.81: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.5 / 0 · As background with white / black text: Lc -100.2 / 7.3

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: #4e2d4e;
  --color-brand-oklch: oklch(35.19% 0.0701 326.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 45 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2d4e] text-[#4e2d4e] border-[#4e2d4e]">