#7C1979#7C1979

#7C1979 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.170 H 329.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7C1979
RGBrgb(124, 25, 121)
HSLhsl(302, 66%, 29%)
HSVhsv(302, 80%, 49%)
CMYKcmyk(0%, 79.8%, 2.4%, 51.4%)
CIE-LABlab(30.31, 52.00, -31.28)
CIE-LCHlch(30.31, 60.69, 328.97°)
OKLaboklab(42.18% 0.1467 -0.0865)
OKLCHoklch(42.18% 0.17 329.5)
XYZxyz(12.1109, 6.3618, 18.6755)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1979 #197C1C
analogous
#4E197C #7C1979 #7C1948
triadic
#7C1979 #797C19 #19797C
tetradic
#7C1979 #7C4E19 #197C1C #19487C
square
#7C1979 #7C4E19 #197C1C #19487C
split-complementary
#7C1979 #487C19 #197C4E
monochromatic
#190519 #490F47 #7C1979 #AF23AB #D738D2

Accessibility & contrast

On white

9.24
#7C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1979
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1979#FFFFFF#000000##FFFFFF
##7C19791.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#812849
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1979;
/* rgb */ color: rgb(124, 25, 121);
/* oklch */ color: oklch(42.2% 0.170 329.5);
Tailwind
colors: {
  custom: {
    50: '#a563a0',
    500: '#7c1979',
    950: '#000000',
  },
}
SCSS
$custom: #7c1979;
$custom-light: #a563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1979",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 301.818,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.17029,
    "h": 329.5
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7C1979
secondary
#40B044
accent
#E9443E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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