#7C1479#7C1479

#7C1479 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.175 H 329.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7C1479
RGBrgb(124, 20, 121)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 84%, 49%)
CMYKcmyk(0%, 83.9%, 2.4%, 51.4%)
CIE-LABlab(29.83, 53.39, -32.04)
CIE-LCHlch(29.83, 62.26, 329.03°)
OKLaboklab(41.84% 0.1506 -0.0887)
OKLCHoklch(41.84% 0.175 329.5)
XYZxyz(12.0135, 6.1668, 18.6430)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1479 #147C17
analogous
#4B147C #7C1479 #7C1445
triadic
#7C1479 #797C14 #14797C
tetradic
#7C1479 #7C4B14 #147C17 #14457C
square
#7C1479 #7C4B14 #147C17 #14457C
split-complementary
#7C1479 #457C14 #147C4B
monochromatic
#1A041A #470B46 #7C1479 #B11DAC #DD2DD8

Accessibility & contrast

On white

9.40
#7C1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1479
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1479#FFFFFF#000000##FFFFFF
##7C14791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#812547
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1479;
/* rgb */ color: rgb(124, 20, 121);
/* oklch */ color: oklch(41.8% 0.175 329.5);
Tailwind
colors: {
  custom: {
    50: '#a661a0',
    500: '#7c1479',
    950: '#000000',
  },
}
SCSS
$custom: #7c1479;
$custom-light: #a661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1479",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 301.731,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.1748,
    "h": 329.5
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#7C1479
secondary
#3AB23E
accent
#EF3E39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1479

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7C1479 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva