#7C1471#7C1471

#7C1471 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.169 H 333.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7C1471
RGBrgb(124, 20, 113)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 49%)
CMYKcmyk(0%, 83.9%, 8.9%, 51.4%)
CIE-LABlab(29.36, 52.10, -27.70)
CIE-LCHlch(29.36, 59.00, 332.00°)
OKLaboklab(41.35% 0.1507 -0.0761)
OKLCHoklch(41.35% 0.169 333.2)
XYZxyz(11.5431, 5.9787, 16.1656)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1471 #147C1F
analogous
#53147C #7C1471 #7C143D
triadic
#7C1471 #717C14 #14717C
tetradic
#7C1471 #7C5314 #147C1F #143D7C
square
#7C1471 #7C5314 #147C1F #143D7C
split-complementary
#7C1471 #3D7C14 #147C53
monochromatic
#1A0418 #470B41 #7C1471 #B11DA1 #DD2DCB

Accessibility & contrast

On white

9.56
#7C1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1471
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1471#FFFFFF#000000##FFFFFF
##7C14711.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1471;
/* rgb */ color: rgb(124, 20, 113);
/* oklch */ color: oklch(41.4% 0.169 333.2);
Tailwind
colors: {
  custom: {
    50: '#a6619a',
    500: '#7c1471',
    950: '#000000',
  },
}
SCSS
$custom: #7c1471;
$custom-light: #a6619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1471",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 306.346,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.16881,
    "h": 333.2
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#7C1471
secondary
#3AB247
accent
#EF4C39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1471

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

Preview Lab → · Contrast checker → · Palette generator →

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