#7C1779#7C1779

#7C1779 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 329.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7C1779
RGBrgb(124, 23, 121)
HSLhsl(302, 69%, 29%)
HSVhsv(302, 81%, 49%)
CMYKcmyk(0%, 81.5%, 2.4%, 51.4%)
CIE-LABlab(30.11, 52.58, -31.60)
CIE-LCHlch(30.11, 61.35, 329.00°)
OKLaboklab(42.04% 0.1483 -0.0875)
OKLCHoklch(42.04% 0.172 329.5)
XYZxyz(12.0697, 6.2793, 18.6618)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1779 #177C1A
analogous
#4D177C #7C1779 #7C1747
triadic
#7C1779 #797C17 #17797C
tetradic
#7C1779 #7C4D17 #177C1A #17477C
square
#7C1779 #7C4D17 #177C1A #17477C
split-complementary
#7C1779 #477C17 #177C4D
monochromatic
#1A0519 #480D47 #7C1779 #B021AB #D934D4

Accessibility & contrast

On white

9.31
#7C1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1779
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1779#FFFFFF#000000##FFFFFF
##7C17791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#374B77
Tritanopia (blue-blind)
#812748
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1779;
/* rgb */ color: rgb(124, 23, 121);
/* oklch */ color: oklch(42.0% 0.172 329.5);
Tailwind
colors: {
  custom: {
    50: '#a562a0',
    500: '#7c1779',
    950: '#000000',
  },
}
SCSS
$custom: #7c1779;
$custom-light: #a562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1779",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 301.782,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.17218,
    "h": 329.5
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#7C1779
secondary
#3EB141
accent
#EC413C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1779

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

Preview Lab → · Contrast checker → · Palette generator →

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