#7F1663

A color in the Purple, Crimson, Magenta family

#7f1663 is a color in the Purple, Crimson, Magenta family: RGB(127, 22, 99), HSL(316°, 70%, 29%), CMYK(0%, 83%, 22%, 50%). Closest named color: purple. Contrast is 9.56:1 on white and 2.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7f1663
RGBrgb(127 22 99)
RGB (legacy)rgb(127, 22, 99)
RGB %rgb(50% 9% 39%)
HSLhsl(316 70% 29%)
HSV / HSBhsv(316, 83%, 50%)
HWBhwb(316 9% 50%)
CMYKcmyk(0%, 83%, 22%, 50%)
CIELAB (D50)lab(29.55 48.71 -18.02)
LCHlch(29.55 51.93 339.69)
OKLaboklab(0.4124 0.1509 -0.0501)
OKLCHoklch(0.4124 0.159 341.64)
Decimal8328803

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 5.4
Closest web-safe color#660066
Hue316°
Saturation (HSL / HSV)70% / 83%
Lightness (HSL)29%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)24% / 20%
Relative luminance (WCAG)0.0599
Red / Green / Blue127 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.20: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 90.8 / -11.5 · As background with white / black text: Lc -95.2 / 13.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: #7f1663;
  --color-brand-oklch: oklch(41.24% 0.159 341.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f1663] text-[#7f1663] border-[#7f1663]">