#A42EAA

A color in the Purple, Crimson, Magenta family

#a42eaa is a color in the Purple, Crimson, Magenta family: RGB(164, 46, 170), HSL(297°, 57%, 42%), CMYK(4%, 73%, 0%, 33%). Closest named color: darkorchid. Contrast is 5.92:1 on white and 3.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a42eaa
RGBrgb(164 46 170)
RGB (legacy)rgb(164, 46, 170)
RGB %rgb(64% 18% 67%)
HSLhsl(297 57% 42%)
HSV / HSBhsv(297, 73%, 67%)
HWBhwb(297 18% 33%)
CMYKcmyk(4%, 73%, 0%, 33%)
CIELAB (D50)lab(42.24 59.02 -41.52)
LCHlch(42.24 72.16 324.87)
OKLaboklab(0.5304 0.171 -0.1158)
OKLCHoklch(0.5304 0.2066 325.89)
Decimal10759850

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 5.9
Closest web-safe color#993399
Hue297°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)42%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)37% / 31%
Relative luminance (WCAG)0.1275
Red / Green / Blue164 / 46 / 170

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.92:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.55: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 78.4 / -23.3 · As background with white / black text: Lc -83.7 / 25.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: #a42eaa;
  --color-brand-oklch: oklch(53.04% 0.2066 325.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 46 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a42eaa] text-[#a42eaa] border-[#a42eaa]">