#7B1C79#7B1C79

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

Color values

HEX#7B1C79
RGBrgb(123, 28, 121)
HSLhsl(301, 63%, 30%)
HSVhsv(301, 77%, 48%)
CMYKcmyk(0%, 77.2%, 1.6%, 51.8%)
CIE-LABlab(30.45, 50.84, -31.06)
CIE-LCHlch(30.45, 59.57, 328.58°)
OKLaboklab(42.25% 0.1429 -0.0859)
OKLCHoklch(42.25% 0.167 329)
XYZxyz(12.0347, 6.4228, 18.6913)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C79 #1C7B1E
analogous
#4E1C7B #7B1C79 #7B1C4A
triadic
#7B1C79 #797B1C #1C797B
tetradic
#7B1C79 #7B4E1C #1C7B1E #1C4A7B
square
#7B1C79 #7B4E1C #1C7B1E #1C4A7B
split-complementary
#7B1C79 #4A7B1C #1C7B4E
monochromatic
#190619 #491148 #7B1C79 #AD27AA #D33ED0

Accessibility & contrast

On white

9.19
#7B1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C79
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C79#FFFFFF#000000##FFFFFF
##7B1C791.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7F2A49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1c79;
/* rgb */ color: rgb(123, 28, 121);
/* oklch */ color: oklch(42.3% 0.167 329.0);
Tailwind
colors: {
  custom: {
    50: '#a464a0',
    500: '#7b1c79',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c79;
$custom-light: #a464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c79",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 301.263,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.16671,
    "h": 329
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#7B1C79
secondary
#44AF46
accent
#E64542
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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