#8A2C8A

A color in the Purple, Crimson, Magenta family

#8a2c8a is a color in the Purple, Crimson, Magenta family: RGB(138, 44, 138), HSL(300°, 52%, 36%), CMYK(0%, 68%, 0%, 46%). Closest named color: darkmagenta. Contrast is 7.48:1 on white and 2.81:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a2c8a
RGBrgb(138 44 138)
RGB (legacy)rgb(138, 44, 138)
RGB %rgb(54% 17% 54%)
HSLhsl(300 52% 36%)
HSV / HSBhsv(300, 68%, 54%)
HWBhwb(300 17% 46%)
CMYKcmyk(0%, 68%, 0%, 46%)
CIELAB (D50)lab(35.99 48.88 -32.41)
LCHlch(35.99 58.65 326.45)
OKLaboklab(0.4709 0.1435 -0.0902)
OKLCHoklch(0.4709 0.1695 327.86)
Decimal9055370

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 4.3
Closest web-safe color#993399
Hue300°
Saturation (HSL / HSV)52% / 68%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)32% / 28%
Relative luminance (WCAG)0.0904
Red / Green / Blue138 / 44 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.48:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.81: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 85.1 / -16.9 · As background with white / black text: Lc -90 / 18.9

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: #8a2c8a;
  --color-brand-oklch: oklch(47.09% 0.1695 327.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 44 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a2c8a] text-[#8a2c8a] border-[#8a2c8a]">