#4E293F

A color in the Purple, Crimson, Magenta family

#4e293f is a color in the Purple, Crimson, Magenta family: RGB(78, 41, 63), HSL(324°, 31%, 23%), CMYK(0%, 47%, 19%, 69%). Closest named color: darkslategray. Contrast is 12.26:1 on white and 1.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e293f
RGBrgb(78 41 63)
RGB (legacy)rgb(78, 41, 63)
RGB %rgb(31% 16% 25%)
HSLhsl(324 31% 23%)
HSV / HSBhsv(324, 47%, 31%)
HWBhwb(324 16% 69%)
CMYKcmyk(0%, 47%, 19%, 69%)
CIELAB (D50)lab(22.25 20.16 -6.18)
LCHlch(22.25 21.08 342.95)
OKLaboklab(0.3373 0.0612 -0.017)
OKLCHoklch(0.3373 0.0636 344.48)
Decimal5122367

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslategray ΔE 11.8
Closest web-safe color#663333
Hue324°
Saturation (HSL / HSV)31% / 47%
Lightness (HSL)23%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)21% / 20%
Relative luminance (WCAG)0.0356
Red / Green / Blue78 / 41 / 63

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.26:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.71: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 97.8 / 0 · As background with white / black text: Lc -101.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: #4e293f;
  --color-brand-oklch: oklch(33.73% 0.0636 344.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 41 63 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e293f] text-[#4e293f] border-[#4e293f]">