#7A4792

A color in the Purple, Crimson, Magenta family

#7a4792 is a color in the Purple, Crimson, Magenta family: RGB(122, 71, 146), HSL(281°, 35%, 43%), CMYK(16%, 51%, 0%, 43%). Closest named color: darkslateblue. Contrast is 6.68:1 on white and 3.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a4792
RGBrgb(122 71 146)
RGB (legacy)rgb(122, 71, 146)
RGB %rgb(48% 28% 57%)
HSLhsl(281 35% 43%)
HSV / HSBhsv(281, 51%, 57%)
HWBhwb(281 28% 43%)
CMYKcmyk(16%, 51%, 0%, 43%)
CIELAB (D50)lab(38.88 32.51 -32.94)
LCHlch(38.88 46.28 314.62)
OKLaboklab(0.4898 0.0883 -0.0915)
OKLCHoklch(0.4898 0.1271 313.98)
Decimal8013714

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 9.7
Closest web-safe color#663399
Hue281°
Saturation (HSL / HSV)35% / 51%
Lightness (HSL)43%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)37% / 34%
Relative luminance (WCAG)0.1072
Red / Green / Blue122 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.14: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 82.7 / -19.2 · As background with white / black text: Lc -87.7 / 21.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: #7a4792;
  --color-brand-oklch: oklch(48.98% 0.1271 313.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a4792] text-[#7a4792] border-[#7a4792]">