#7C1C8F#7C1C8F

#7C1C8F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.185 H 320.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7C1C8F
RGBrgb(124, 28, 143)
HSLhsl(290, 67%, 34%)
HSVhsv(290, 80%, 56%)
CMYKcmyk(13.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(32.03, 55.03, -42.26)
CIE-LCHlch(32.03, 69.38, 322.48°)
OKLaboklab(43.86% 0.1425 -0.1186)
OKLCHoklch(43.86% 0.185 320.2)
XYZxyz(13.6848, 7.0995, 26.6308)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C8F #2F8F1C
analogous
#421C8F #7C1C8F #8F1C68
triadic
#7C1C8F #8F7C1C #1C8F7C
tetradic
#7C1C8F #8F421C #2F8F1C #1C688F
square
#7C1C8F #8F421C #2F8F1C #1C688F
split-complementary
#7C1C8F #688F1C #1C8F42
monochromatic
#230829 #50125C #7C1C8F #A826C2 #C34ADC

Accessibility & contrast

On white

8.68
#7C1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7C1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C8F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C8F#FFFFFF#000000##FFFFFF
##7C1C8F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#284F8C
Tritanopia (blue-blind)
#7C3556
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1c8f;
/* rgb */ color: rgb(124, 28, 143);
/* oklch */ color: oklch(43.9% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#a665b0',
    500: '#7c1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c8f;
$custom-light: #a665b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c8f",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 290.087,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.18539,
    "h": 320.2
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#7C1C8F
secondary
#5CBE49
accent
#EA3E5A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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