#7C1571#7C1571

#7C1571 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 333.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7C1571
RGBrgb(124, 21, 113)
HSLhsl(306, 71%, 28%)
HSVhsv(306, 83%, 49%)
CMYKcmyk(0%, 83.1%, 8.9%, 51.4%)
CIE-LABlab(29.45, 51.83, -27.55)
CIE-LCHlch(29.45, 58.70, 332.00°)
OKLaboklab(41.42% 0.1499 -0.0757)
OKLCHoklch(41.42% 0.168 333.2)
XYZxyz(11.5611, 6.0147, 16.1716)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1571 #157C20
analogous
#53157C #7C1571 #7C153D
triadic
#7C1571 #717C15 #15717C
tetradic
#7C1571 #7C5315 #157C20 #153D7C
square
#7C1571 #7C5315 #157C20 #153D7C
split-complementary
#7C1571 #3D7C15 #157C53
monochromatic
#1A0418 #480C41 #7C1571 #B01EA1 #DC30C9

Accessibility & contrast

On white

9.53
#7C1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1571
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1571#FFFFFF#000000##FFFFFF
##7C15711.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1571;
/* rgb */ color: rgb(124, 21, 113);
/* oklch */ color: oklch(41.4% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#a5619a',
    500: '#7c1571',
    950: '#000000',
  },
}
SCSS
$custom: #7c1571;
$custom-light: #a5619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1571",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 306.408,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.16793,
    "h": 333.2
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#7C1571
secondary
#3CB148
accent
#EE4D3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1571

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

Preview Lab → · Contrast checker → · Palette generator →

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