#7C1C76#7C1C76

#7C1C76 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.165 H 330.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7C1C76
RGBrgb(124, 28, 118)
HSLhsl(304, 63%, 30%)
HSVhsv(304, 77%, 49%)
CMYKcmyk(0%, 77.4%, 4.8%, 51.4%)
CIE-LABlab(30.46, 50.56, -29.14)
CIE-LCHlch(30.46, 58.36, 330.04°)
OKLaboklab(42.23% 0.1439 -0.0804)
OKLCHoklch(42.23% 0.165 330.8)
XYZxyz(11.9974, 6.4246, 17.7442)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C76 #1C7C22
analogous
#521C7C #7C1C76 #7C1C46
triadic
#7C1C76 #767C1C #1C767C
tetradic
#7C1C76 #7C521C #1C7C22 #1C467C
square
#7C1C76 #7C521C #1C7C22 #1C467C
split-complementary
#7C1C76 #467C1C #1C7C52
monochromatic
#190618 #4A1146 #7C1C76 #AE27A6 #D43FCA

Accessibility & contrast

On white

9.19
#7C1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C76
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C76#FFFFFF#000000##FFFFFF
##7C1C761.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#812948
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1c76;
/* rgb */ color: rgb(124, 28, 118);
/* oklch */ color: oklch(42.2% 0.165 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5649e',
    500: '#7c1c76',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c76;
$custom-light: #a5649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c76",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 303.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.16486,
    "h": 330.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#7C1C76
secondary
#44B04B
accent
#E64C42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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