#7C1C79#7C1C79

#7C1C79 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.167 H 329.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7C1C79
RGBrgb(124, 28, 121)
HSLhsl(302, 63%, 30%)
HSVhsv(302, 77%, 49%)
CMYKcmyk(0%, 77.4%, 2.4%, 51.4%)
CIE-LABlab(30.63, 51.06, -30.76)
CIE-LCHlch(30.63, 59.62, 328.93°)
OKLaboklab(42.41% 0.144 -0.0851)
OKLCHoklch(42.41% 0.167 329.4)
XYZxyz(12.1785, 6.4970, 18.6981)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C79 #1C7C1F
analogous
#4F1C7C #7C1C79 #7C1C49
triadic
#7C1C79 #797C1C #1C797C
tetradic
#7C1C79 #7C4F1C #1C7C1F #1C497C
square
#7C1C79 #7C4F1C #1C7C1F #1C497C
split-complementary
#7C1C79 #497C1C #1C7C4F
monochromatic
#190618 #4A1148 #7C1C79 #AE27AA #D43FCF

Accessibility & contrast

On white

9.13
#7C1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7C1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C79
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C79#FFFFFF#000000##FFFFFF
##7C1C791.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#812A49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1c79;
/* rgb */ color: rgb(124, 28, 121);
/* oklch */ color: oklch(42.4% 0.167 329.4);
Tailwind
colors: {
  custom: {
    50: '#a564a0',
    500: '#7c1c79',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c79;
$custom-light: #a564a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c79",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 301.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42414,
    "c": 0.16723,
    "h": 329.4
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#7C1C79
secondary
#44B047
accent
#E64742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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