#7F104F

A color in the Purple, Crimson, Magenta family

#7f104f is a color in the Purple, Crimson, Magenta family: RGB(127, 16, 79), HSL(326°, 78%, 28%), CMYK(0%, 87%, 38%, 50%). Closest named color: purple. Contrast is 10.05:1 on white and 2.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7f104f
RGBrgb(127 16 79)
RGB (legacy)rgb(127, 16, 79)
RGB %rgb(50% 6% 31%)
HSLhsl(326 78% 28%)
HSV / HSBhsv(326, 87%, 50%)
HWBhwb(326 6% 50%)
CMYKcmyk(0%, 87%, 38%, 50%)
CIELAB (D50)lab(28.29 48.39 -6.78)
LCHlch(28.29 48.86 352.02)
OKLaboklab(0.3994 0.1514 -0.0196)
OKLCHoklch(0.3994 0.1527 352.64)
Decimal8327247

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 8.6
Closest web-safe color#660066
Hue326°
Saturation (HSL / HSV)78% / 87%
Lightness (HSL)28%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)22% / 17%
Relative luminance (WCAG)0.0545
Red / Green / Blue127 / 16 / 79

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.05:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.09: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 91.8 / -10.6 · As background with white / black text: Lc -96.1 / 12.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: #7f104f;
  --color-brand-oklch: oklch(39.94% 0.1527 352.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 16 79 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f104f] text-[#7f104f] border-[#7f104f]">