#804792

A color in the Purple, Crimson, Magenta family

#804792 is a color in the Purple, Crimson, Magenta family: RGB(128, 71, 146), HSL(286°, 35%, 43%), CMYK(12%, 51%, 0%, 43%). Closest named color: darkmagenta. Contrast is 6.49:1 on white and 3.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#804792
RGBrgb(128 71 146)
RGB (legacy)rgb(128, 71, 146)
RGB %rgb(50% 28% 57%)
HSLhsl(286 35% 43%)
HSV / HSBhsv(286, 51%, 57%)
HWBhwb(286 28% 43%)
CMYKcmyk(12%, 51%, 0%, 43%)
CIELAB (D50)lab(39.69 34.46 -31.61)
LCHlch(39.69 46.76 317.46)
OKLaboklab(0.4971 0.096 -0.0877)
OKLCHoklch(0.4971 0.13 317.59)
Decimal8406930

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 9.6
Closest web-safe color#993399
Hue286°
Saturation (HSL / HSV)35% / 51%
Lightness (HSL)43%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)38% / 35%
Relative luminance (WCAG)0.1117
Red / Green / Blue128 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.49:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.23: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.9 / -20 · As background with white / black text: Lc -87 / 22.2

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: #804792;
  --color-brand-oklch: oklch(49.71% 0.13 317.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(128 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#804792] text-[#804792] border-[#804792]">