#7C1952

A color in the Purple, Crimson, Magenta family

#7c1952 is a color in the Purple, Crimson, Magenta family: RGB(124, 25, 82), HSL(325°, 66%, 29%), CMYK(0%, 80%, 34%, 51%). Closest named color: purple. Contrast is 9.92:1 on white and 2.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7c1952
RGBrgb(124 25 82)
RGB (legacy)rgb(124, 25, 82)
RGB %rgb(49% 10% 32%)
HSLhsl(325 66% 29%)
HSV / HSBhsv(325, 80%, 49%)
HWBhwb(325 10% 51%)
CMYKcmyk(0%, 80%, 34%, 51%)
CIELAB (D50)lab(28.62 45.43 -8.36)
LCHlch(28.62 46.2 349.58)
OKLaboklab(0.4014 0.1417 -0.0236)
OKLCHoklch(0.4014 0.1437 350.53)
Decimal8132946

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 8.3
Closest web-safe color#660066
Hue325°
Saturation (HSL / HSV)66% / 80%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)24% / 20%
Relative luminance (WCAG)0.0559
Red / Green / Blue124 / 25 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.92:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.12: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: #7c1952;
  --color-brand-oklch: oklch(40.14% 0.1437 350.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c1952] text-[#7c1952] border-[#7c1952]">