#7C1C99#7C1C99

#7C1C99 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.194 H 316.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7C1C99
RGBrgb(124, 28, 153)
HSLhsl(286, 69%, 35%)
HSVhsv(286, 82%, 60%)
CMYKcmyk(19%, 81.7%, 0%, 40%)
CIE-LABlab(32.74, 56.95, -47.26)
CIE-LCHlch(32.74, 74.01, 320.31°)
OKLaboklab(44.57% 0.1409 -0.1333)
OKLCHoklch(44.57% 0.194 316.6)
XYZxyz(14.4763, 7.4161, 30.7997)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C99 #39991C
analogous
#3D1C99 #7C1C99 #991C77
triadic
#7C1C99 #997C1C #1C997C
tetradic
#7C1C99 #993D1C #39991C #1C7799
square
#7C1C99 #993D1C #39991C #1C7799
split-complementary
#7C1C99 #77991C #1C993D
monochromatic
#280932 #521365 #7C1C99 #A625CD #BE50DF

Accessibility & contrast

On white

8.46
#7C1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C99
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C99#FFFFFF#000000##FFFFFF
##7C1C991.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#1C5096
Tritanopia (blue-blind)
#7A3A5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1c99;
/* rgb */ color: rgb(124, 28, 153);
/* oklch */ color: oklch(44.6% 0.194 316.6);
Tailwind
colors: {
  custom: {
    50: '#a665b8',
    500: '#7c1c99',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c99;
$custom-light: #a665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c99",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 286.08,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.19395,
    "h": 316.6
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#7C1C99
secondary
#6AC24F
accent
#EC3C65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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