#8A4792

A color in the Purple, Crimson, Magenta family

#8a4792 is a color in the Purple, Crimson, Magenta family: RGB(138, 71, 146), HSL(294°, 35%, 43%), CMYK(5%, 51%, 0%, 43%). Closest named color: darkmagenta. Contrast is 6.18:1 on white and 3.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a4792
RGBrgb(138 71 146)
RGB (legacy)rgb(138, 71, 146)
RGB %rgb(54% 28% 57%)
HSLhsl(294 35% 43%)
HSV / HSBhsv(294, 51%, 57%)
HWBhwb(294 28% 43%)
CMYKcmyk(5%, 51%, 0%, 43%)
CIELAB (D50)lab(41.08 37.71 -29.31)
LCHlch(41.08 47.76 322.14)
OKLaboklab(0.5097 0.1086 -0.0812)
OKLCHoklch(0.5097 0.1355 323.22)
Decimal9062290

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 9.5
Closest web-safe color#993399
Hue294°
Saturation (HSL / HSV)35% / 51%
Lightness (HSL)43%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)39% / 36%
Relative luminance (WCAG)0.1199
Red / Green / Blue138 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80.5 / -21.4 · As background with white / black text: Lc -85.6 / 23.6

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: #8a4792;
  --color-brand-oklch: oklch(50.97% 0.1355 323.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a4792] text-[#8a4792] border-[#8a4792]">