#7C1C82#7C1C82

#7C1C82 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.175 H 325.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7C1C82
RGBrgb(124, 28, 130)
HSLhsl(296, 65%, 31%)
HSVhsv(296, 78%, 51%)
CMYKcmyk(4.6%, 78.5%, 0%, 49%)
CIE-LABlab(31.18, 52.63, -35.55)
CIE-LCHlch(31.18, 63.52, 325.96°)
OKLaboklab(42.98% 0.1437 -0.099)
OKLCHoklch(42.98% 0.175 325.4)
XYZxyz(12.7564, 6.7282, 21.7415)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C82 #22821C
analogous
#491C82 #7C1C82 #821C55
triadic
#7C1C82 #827C1C #1C827C
tetradic
#7C1C82 #82491C #22821C #1C5582
square
#7C1C82 #82491C #22821C #1C5582
split-complementary
#7C1C82 #55821C #1C8249
monochromatic
#1C061D #4C1150 #7C1C82 #AC27B4 #CE42D6

Accessibility & contrast

On white

8.95
#7C1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C82
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C82#FFFFFF#000000##FFFFFF
##7C1C821.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#7F2F4E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1c82;
/* rgb */ color: rgb(124, 28, 130);
/* oklch */ color: oklch(43.0% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#a564a7',
    500: '#7c1c82',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c82;
$custom-light: #a564a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c82",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 296.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.17452,
    "h": 325.4
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#7C1C82
secondary
#4BB544
accent
#E8404A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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