#7C1879#7C1879

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

Color values

HEX#7C1879
RGBrgb(124, 24, 121)
HSLhsl(302, 68%, 29%)
HSVhsv(302, 81%, 49%)
CMYKcmyk(0%, 80.6%, 2.4%, 51.4%)
CIE-LABlab(30.21, 52.30, -31.44)
CIE-LCHlch(30.21, 61.02, 328.98°)
OKLaboklab(42.11% 0.1475 -0.087)
OKLCHoklch(42.11% 0.171 329.5)
XYZxyz(12.0899, 6.3198, 18.6685)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1879 #187C1B
analogous
#4D187C #7C1879 #7C1847
triadic
#7C1879 #797C18 #18797C
tetradic
#7C1879 #7C4D18 #187C1B #18477C
square
#7C1879 #7C4D18 #187C1B #18477C
split-complementary
#7C1879 #477C18 #187C4D
monochromatic
#1A0519 #490E47 #7C1879 #AF22AB #D836D3

Accessibility & contrast

On white

9.28
#7C1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1879
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1879#FFFFFF#000000##FFFFFF
##7C18791.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1879;
/* rgb */ color: rgb(124, 24, 121);
/* oklch */ color: oklch(42.1% 0.171 329.5);
Tailwind
colors: {
  custom: {
    50: '#a562a0',
    500: '#7c1879',
    950: '#000000',
  },
}
SCSS
$custom: #7c1879;
$custom-light: #a562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1879",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 301.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.17125,
    "h": 329.5
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#7C1879
secondary
#3FB143
accent
#EA433D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1879

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

Preview Lab → · Contrast checker → · Palette generator →

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