#7C1C8C#7C1C8C

#7C1C8C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.183 H 321.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C1C8C
RGBrgb(124, 28, 140)
HSLhsl(291, 67%, 33%)
HSVhsv(291, 80%, 55%)
CMYKcmyk(11.4%, 80%, 0%, 45.1%)
CIE-LABlab(31.83, 54.46, -40.73)
CIE-LCHlch(31.83, 68.01, 323.21°)
OKLaboklab(43.65% 0.1429 -0.1141)
OKLCHoklch(43.65% 0.183 321.4)
XYZxyz(13.4605, 7.0098, 25.4499)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C8C #2C8C1C
analogous
#441C8C #7C1C8C #8C1C64
triadic
#7C1C8C #8C7C1C #1C8C7C
tetradic
#7C1C8C #8C441C #2C8C1C #1C648C
square
#7C1C8C #8C441C #2C8C1C #1C648C
split-complementary
#7C1C8C #648C1C #1C8C44
monochromatic
#220826 #4F1259 #7C1C8C #A926BF #C548DA

Accessibility & contrast

On white

8.74
#7C1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C1C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C8C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C8C#FFFFFF#000000##FFFFFF
##7C1C8C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#7D3354
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1c8c;
/* rgb */ color: rgb(124, 28, 140);
/* oklch */ color: oklch(43.6% 0.183 321.4);
Tailwind
colors: {
  custom: {
    50: '#a665ae',
    500: '#7c1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c8c;
$custom-light: #a665ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c8c",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 291.429,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.18286,
    "h": 321.4
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#7C1C8C
secondary
#58BC48
accent
#EA3E57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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