#A4287C

A color in the Purple, Crimson, Magenta family

#a4287c is a color in the Purple, Crimson, Magenta family: RGB(164, 40, 124), HSL(319°, 61%, 40%), CMYK(0%, 76%, 24%, 36%). Closest named color: mediumvioletred. Contrast is 6.62:1 on white and 3.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a4287c
RGBrgb(164 40 124)
RGB (legacy)rgb(164, 40, 124)
RGB %rgb(64% 16% 49%)
HSLhsl(319 61% 40%)
HSV / HSBhsv(319, 76%, 64%)
HWBhwb(319 16% 36%)
CMYKcmyk(0%, 76%, 24%, 36%)
CIELAB (D50)lab(39.59 55.83 -17.75)
LCHlch(39.59 58.58 342.36)
OKLaboklab(0.5011 0.1733 -0.0493)
OKLCHoklch(0.5011 0.1801 344.11)
Decimal10758268

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7
Closest web-safe color#993366
Hue319°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)40%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)34% / 28%
Relative luminance (WCAG)0.1087
Red / Green / Blue164 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.17: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 81.5 / -20.4 · As background with white / black text: Lc -86.6 / 22.5

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: #a4287c;
  --color-brand-oklch: oklch(50.11% 0.1801 344.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a4287c] text-[#a4287c] border-[#a4287c]">