#A2139E

A color in the Purple, Crimson, Magenta family

#a2139e is a color in the Purple, Crimson, Magenta family: RGB(162, 19, 158), HSL(302°, 79%, 35%), CMYK(0%, 88%, 2%, 36%). Closest named color: darkmagenta. Contrast is 6.72:1 on white and 3.12:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a2139e
RGBrgb(162 19 158)
RGB (legacy)rgb(162, 19, 158)
RGB %rgb(64% 7% 62%)
HSLhsl(302 79% 35%)
HSV / HSBhsv(302, 88%, 64%)
HWBhwb(302 7% 36%)
CMYKcmyk(0%, 88%, 2%, 36%)
CIELAB (D50)lab(38.86 63.86 -39.71)
LCHlch(38.86 75.2 328.13)
OKLaboklab(0.503 0.1891 -0.1109)
OKLCHoklch(0.503 0.2192 329.62)
Decimal10621854

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.8
Closest web-safe color#990099
Hue302°
Saturation (HSL / HSV)79% / 88%
Lightness (HSL)35%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)30% / 23%
Relative luminance (WCAG)0.1062
Red / Green / Blue162 / 19 / 158

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.12: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.3 / -20.5 · As background with white / black text: Lc -86.5 / 22.7

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: #a2139e;
  --color-brand-oklch: oklch(50.3% 0.2192 329.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 19 158 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a2139e] text-[#a2139e] border-[#a2139e]">