#7C19A7

A color in the Purple, Crimson, Magenta family

#7c19a7 is a color in the Purple, Crimson, Magenta family: RGB(124, 25, 167), HSL(282°, 74%, 38%), CMYK(26%, 85%, 0%, 35%). Closest named color: darkmagenta. Contrast is 8.22:1 on white and 2.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7c19a7
RGBrgb(124 25 167)
RGB (legacy)rgb(124, 25, 167)
RGB %rgb(49% 10% 65%)
HSLhsl(282 74% 38%)
HSV / HSBhsv(282, 85%, 65%)
HWBhwb(282 10% 35%)
CMYKcmyk(26%, 85%, 0%, 35%)
CIELAB (D50)lab(32.97 55.97 -55.02)
LCHlch(32.97 78.49 315.49)
OKLaboklab(0.4544 0.1399 -0.1545)
OKLCHoklch(0.4544 0.2084 312.14)
Decimal8133031

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.9
Closest web-safe color#660099
Hue282°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)38%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)28% / 22%
Relative luminance (WCAG)0.0777
Red / Green / Blue124 / 25 / 167

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.55: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 87 / -15.1 · As background with white / black text: Lc -91.7 / 17

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: #7c19a7;
  --color-brand-oklch: oklch(45.44% 0.2084 312.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 167 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c19a7] text-[#7c19a7] border-[#7c19a7]">