#4E2D64

A color in the Purple, Crimson, Magenta family

#4e2d64 is a color in the Purple, Crimson, Magenta family: RGB(78, 45, 100), HSL(276°, 38%, 28%), CMYK(22%, 55%, 0%, 61%). Closest named color: darkslateblue. Contrast is 11.15:1 on white and 1.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e2d64
RGBrgb(78 45 100)
RGB (legacy)rgb(78, 45, 100)
RGB %rgb(31% 18% 39%)
HSLhsl(276 38% 28%)
HSV / HSBhsv(276, 55%, 39%)
HWBhwb(276 18% 61%)
CMYKcmyk(22%, 55%, 0%, 61%)
CIELAB (D50)lab(24.79 24 -26.83)
LCHlch(24.79 36 311.82)
OKLaboklab(0.3645 0.0629 -0.0747)
OKLCHoklch(0.3645 0.0976 310.11)
Decimal5123428

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 7.3
Closest web-safe color#663366
Hue276°
Saturation (HSL / HSV)38% / 55%
Lightness (HSL)28%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)24% / 22%
Relative luminance (WCAG)0.0442
Red / Green / Blue78 / 45 / 100

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.88: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 95.5 / 0 · As background with white / black text: Lc -99.3 / 8.4

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