#7C1B79#7C1B79

#7C1B79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.168 H 329.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7C1B79
RGBrgb(124, 27, 121)
HSLhsl(302, 64%, 30%)
HSVhsv(302, 78%, 49%)
CMYKcmyk(0%, 78.2%, 2.4%, 51.4%)
CIE-LABlab(30.52, 51.39, -30.94)
CIE-LCHlch(30.52, 59.98, 328.95°)
OKLaboklab(42.33% 0.1449 -0.0856)
OKLCHoklch(42.33% 0.168 329.4)
XYZxyz(12.1552, 6.4504, 18.6903)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B79 #1B7C1E
analogous
#4F1B7C #7C1B79 #7C1B48
triadic
#7C1B79 #797C1B #1B797C
tetradic
#7C1B79 #7C4F1B #1B7C1E #1B487C
square
#7C1B79 #7C4F1B #1B7C1E #1B487C
split-complementary
#7C1B79 #487C1B #1B7C4F
monochromatic
#190519 #4A1048 #7C1B79 #AE26AA #D53DD0

Accessibility & contrast

On white

9.17
#7C1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B79
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B79#FFFFFF#000000##FFFFFF
##7C1B791.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#812949
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1b79;
/* rgb */ color: rgb(124, 27, 121);
/* oklch */ color: oklch(42.3% 0.168 329.4);
Tailwind
colors: {
  custom: {
    50: '#a563a0',
    500: '#7c1b79',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b79;
$custom-light: #a563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b79",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 301.856,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.16828,
    "h": 329.4
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#7C1B79
secondary
#43B046
accent
#E74641
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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