#9C19A5

A color in the Purple, Crimson, Magenta family

#9c19a5 is a color in the Purple, Crimson, Magenta family: RGB(156, 25, 165), HSL(296°, 74%, 37%), CMYK(5%, 85%, 0%, 35%). Closest named color: darkmagenta. Contrast is 6.78:1 on white and 3.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9c19a5
RGBrgb(156 25 165)
RGB (legacy)rgb(156, 25, 165)
RGB %rgb(61% 10% 65%)
HSLhsl(296 74% 37%)
HSV / HSBhsv(296, 85%, 65%)
HWBhwb(296 10% 35%)
CMYKcmyk(5%, 85%, 0%, 35%)
CIELAB (D50)lab(38.51 62.28 -44.57)
LCHlch(38.51 76.58 324.41)
OKLaboklab(0.5007 0.1789 -0.1246)
OKLCHoklch(0.5007 0.2181 325.14)
Decimal10230181

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.7
Closest web-safe color#990099
Hue296°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)37%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)31% / 25%
Relative luminance (WCAG)0.1048
Red / Green / Blue156 / 25 / 165

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.10: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.8 / -20.1 · As background with white / black text: Lc -86.9 / 22.3

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: #9c19a5;
  --color-brand-oklch: oklch(50.07% 0.2181 325.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(156 25 165 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9c19a5] text-[#9c19a5] border-[#9c19a5]">