#7C1378#7C1378

#7C1378 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.175 H 329.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7C1378
RGBrgb(124, 19, 120)
HSLhsl(302, 73%, 28%)
HSVhsv(302, 85%, 49%)
CMYKcmyk(0%, 84.7%, 3.2%, 51.4%)
CIE-LABlab(29.68, 53.47, -31.64)
CIE-LCHlch(29.68, 62.13, 329.39°)
OKLaboklab(41.72% 0.1514 -0.0876)
OKLCHoklch(41.72% 0.175 329.9)
XYZxyz(11.9352, 6.1079, 18.3160)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1378 #137C17
analogous
#4B137C #7C1378 #7C1343
triadic
#7C1378 #787C13 #13787C
tetradic
#7C1378 #7C4B13 #137C17 #13437C
square
#7C1378 #7C4B13 #137C17 #13437C
split-complementary
#7C1378 #437C13 #137C4B
monochromatic
#1B041A #470B45 #7C1378 #B11BAB #DF2BD8

Accessibility & contrast

On white

9.45
#7C1378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1378
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1378#FFFFFF#000000##FFFFFF
##7C13781.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#812447
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1378;
/* rgb */ color: rgb(124, 19, 120);
/* oklch */ color: oklch(41.7% 0.175 329.9);
Tailwind
colors: {
  custom: {
    50: '#a6619f',
    500: '#7c1378',
    950: '#000000',
  },
}
SCSS
$custom: #7c1378;
$custom-light: #a6619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1378",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 120
  },
  "hsl": {
    "h": 302.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.17485,
    "h": 329.9
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#7C1378
secondary
#39B23E
accent
#F03F38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1378

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

Preview Lab → · Contrast checker → · Palette generator →

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