#87287C

A color in the Purple, Crimson, Magenta family

#87287c is a color in the Purple, Crimson, Magenta family: RGB(135, 40, 124), HSL(307°, 54%, 34%), CMYK(0%, 70%, 8%, 47%). Closest named color: darkmagenta. Contrast is 8:1 on white and 2.62:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#87287c
RGBrgb(135 40 124)
RGB (legacy)rgb(135, 40, 124)
RGB %rgb(53% 16% 49%)
HSLhsl(307 54% 34%)
HSV / HSBhsv(307, 70%, 53%)
HWBhwb(307 16% 47%)
CMYKcmyk(0%, 70%, 8%, 47%)
CIELAB (D50)lab(34.26 47.81 -26.48)
LCHlch(34.26 54.65 331.02)
OKLaboklab(0.4543 0.1438 -0.0735)
OKLCHoklch(0.4543 0.1615 332.92)
Decimal8857724

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 4.7
Closest web-safe color#993366
Hue307°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)34%
Brightness or Value (HSV)53%
Luminance (Rec.601 / Rec.709)31% / 26%
Relative luminance (WCAG)0.0812
Red / Green / Blue135 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.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 86.8 / -15.3 · As background with white / black text: Lc -91.6 / 17.2

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: #87287c;
  --color-brand-oklch: oklch(45.43% 0.1615 332.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(135 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#87287c] text-[#87287c] border-[#87287c]">