#4E2A67

A color in the Purple, Crimson, Magenta family

#4e2a67 is a color in the Purple, Crimson, Magenta family: RGB(78, 42, 103), HSL(275°, 42%, 28%), CMYK(24%, 59%, 0%, 60%). Closest named color: darkslateblue. Contrast is 11.35:1 on white and 1.85:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e2a67
RGBrgb(78 42 103)
RGB (legacy)rgb(78, 42, 103)
RGB %rgb(31% 16% 40%)
HSLhsl(275 42% 28%)
HSV / HSBhsv(275, 59%, 40%)
HWBhwb(275 16% 60%)
CMYKcmyk(24%, 59%, 0%, 60%)
CIELAB (D50)lab(24.25 26.33 -29.64)
LCHlch(24.25 39.64 311.62)
OKLaboklab(0.3614 0.0677 -0.0827)
OKLCHoklch(0.3614 0.1069 309.29)
Decimal5122663

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 7.3
Closest web-safe color#663366
Hue275°
Saturation (HSL / HSV)42% / 59%
Lightness (HSL)28%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)23% / 21%
Relative luminance (WCAG)0.0425
Red / Green / Blue78 / 42 / 103

WCAG 2.2 Contrast Ratio

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

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: #4e2a67;
  --color-brand-oklch: oklch(36.14% 0.1069 309.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 42 103 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2a67] text-[#4e2a67] border-[#4e2a67]">