#7C1D84#7C1D84

#7C1D84 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.175 H 324.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7C1D84
RGBrgb(124, 29, 132)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 52%)
CMYKcmyk(6.1%, 78%, 0%, 48.2%)
CIE-LABlab(31.42, 52.67, -36.42)
CIE-LCHlch(31.42, 64.04, 325.34°)
OKLaboklab(43.19% 0.1427 -0.1015)
OKLCHoklch(43.19% 0.175 324.6)
XYZxyz(12.9161, 6.8306, 22.4635)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D84 #25841D
analogous
#491D84 #7C1D84 #841D59
triadic
#7C1D84 #847C1D #1D847C
tetradic
#7C1D84 #84491D #25841D #1D5984
square
#7C1D84 #84491D #25841D #1D5984
split-complementary
#7C1D84 #59841D #1D8449
monochromatic
#1E0720 #4D1252 #7C1D84 #AB28B6 #CB45D6

Accessibility & contrast

On white

8.88
#7C1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7C1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D84
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D84#FFFFFF#000000##FFFFFF
##7C1D841.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#324E82
Tritanopia (blue-blind)
#7F3050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1d84;
/* rgb */ color: rgb(124, 29, 132);
/* oklch */ color: oklch(43.2% 0.175 324.6);
Tailwind
colors: {
  custom: {
    50: '#a565a8',
    500: '#7c1d84',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d84;
$custom-light: #a565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d84",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 295.34,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.17515,
    "h": 324.6
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#7C1D84
secondary
#4FB746
accent
#E7414E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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