#7C1C84#7C1C84

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

Color values

HEX#7C1C84
RGBrgb(124, 28, 132)
HSLhsl(295, 65%, 31%)
HSVhsv(295, 79%, 52%)
CMYKcmyk(6.1%, 78.8%, 0%, 48.2%)
CIE-LABlab(31.31, 52.99, -36.60)
CIE-LCHlch(31.31, 64.40, 325.37°)
OKLaboklab(43.11% 0.1436 -0.1021)
OKLCHoklch(43.11% 0.176 324.6)
XYZxyz(12.8920, 6.7824, 22.4554)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C84 #24841C
analogous
#481C84 #7C1C84 #841C58
triadic
#7C1C84 #847C1C #1C847C
tetradic
#7C1C84 #84481C #24841C #1C5884
square
#7C1C84 #84481C #24841C #1C5884
split-complementary
#7C1C84 #58841C #1C8448
monochromatic
#1D071F #4D1152 #7C1C84 #AB27B6 #CC43D7

Accessibility & contrast

On white

8.91
#7C1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C84
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C84#FFFFFF#000000##FFFFFF
##7C1C841.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1c84;
/* rgb */ color: rgb(124, 28, 132);
/* oklch */ color: oklch(43.1% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a564a8',
    500: '#7c1c84',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c84;
$custom-light: #a564a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c84",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 295.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.17617,
    "h": 324.6
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#7C1C84
secondary
#4DB745
accent
#E8404D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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