#A40887

A color in the Purple, Crimson, Magenta family

#a40887 is a color in the Purple, Crimson, Magenta family: RGB(164, 8, 135), HSL(311°, 91%, 34%), CMYK(0%, 95%, 18%, 36%). Closest named color: darkmagenta. Contrast is 7.09:1 on white and 2.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a40887
RGBrgb(164 8 135)
RGB (legacy)rgb(164, 8, 135)
RGB %rgb(64% 3% 53%)
HSLhsl(311 91% 34%)
HSV / HSBhsv(311, 95%, 64%)
HWBhwb(311 3% 36%)
CMYKcmyk(0%, 95%, 18%, 36%)
CIELAB (D50)lab(37.67 63.4 -27.51)
LCHlch(37.67 69.11 336.54)
OKLaboklab(0.4895 0.1955 -0.0766)
OKLCHoklch(0.4895 0.21 338.61)
Decimal10750087

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.7
Closest web-safe color#990099
Hue311°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)34%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)27% / 20%
Relative luminance (WCAG)0.0982
Red / Green / Blue164 / 8 / 135

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.09:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.96: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 82.5 / -19.4 · As background with white / black text: Lc -87.5 / 21.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: #a40887;
  --color-brand-oklch: oklch(48.95% 0.21 338.61);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 8 135 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a40887] text-[#a40887] border-[#a40887]">