#4E1663

A color in the Purple, Crimson, Magenta family

#4e1663 is a color in the Purple, Crimson, Magenta family: RGB(78, 22, 99), HSL(284°, 64%, 24%), CMYK(21%, 78%, 0%, 61%). Closest named color: indigo. Contrast is 12.97:1 on white and 1.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e1663
RGBrgb(78 22 99)
RGB (legacy)rgb(78, 22, 99)
RGB %rgb(31% 9% 39%)
HSLhsl(284 64% 24%)
HSV / HSBhsv(284, 78%, 39%)
HWBhwb(284 9% 61%)
CMYKcmyk(21%, 78%, 0%, 61%)
CIELAB (D50)lab(20.15 35.67 -33.56)
LCHlch(20.15 48.98 316.74)
OKLaboklab(0.331 0.0939 -0.0941)
OKLCHoklch(0.331 0.1329 314.95)
Decimal5117539

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 5.9
Closest web-safe color#660066
Hue284°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)24%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)19% / 15%
Relative luminance (WCAG)0.0309
Red / Green / Blue78 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.62: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 98.4 / 0 · As background with white / black text: Lc -101.8 / 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: #4e1663;
  --color-brand-oklch: oklch(33.1% 0.1329 314.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e1663] text-[#4e1663] border-[#4e1663]">