#7C1971#7C1971

#7C1971 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.164 H 333.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7C1971
RGBrgb(124, 25, 113)
HSLhsl(307, 66%, 29%)
HSVhsv(307, 80%, 49%)
CMYKcmyk(0%, 79.8%, 8.9%, 51.4%)
CIE-LABlab(29.85, 50.69, -26.93)
CIE-LCHlch(29.85, 57.40, 332.02°)
OKLaboklab(41.7% 0.1465 -0.0739)
OKLCHoklch(41.7% 0.164 333.2)
XYZxyz(11.6405, 6.1736, 16.1981)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1971 #197C24
analogous
#56197C #7C1971 #7C1940
triadic
#7C1971 #717C19 #19717C
tetradic
#7C1971 #7C5619 #197C24 #19407C
square
#7C1971 #7C5619 #197C24 #19407C
split-complementary
#7C1971 #407C19 #197C56
monochromatic
#190517 #490F43 #7C1971 #AF239F #D738C5

Accessibility & contrast

On white

9.40
#7C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1971
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1971#FFFFFF#000000##FFFFFF
##7C19711.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#822444
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1971;
/* rgb */ color: rgb(124, 25, 113);
/* oklch */ color: oklch(41.7% 0.164 333.2);
Tailwind
colors: {
  custom: {
    50: '#a5629a',
    500: '#7c1971',
    950: '#000000',
  },
}
SCSS
$custom: #7c1971;
$custom-light: #a5629a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1971",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 306.667,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.16414,
    "h": 333.2
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#7C1971
secondary
#40B04D
accent
#E9513E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1971

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

Preview Lab → · Contrast checker → · Palette generator →

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