#7B1B79#7B1B79

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

Color values

HEX#7B1B79
RGBrgb(123, 27, 121)
HSLhsl(301, 64%, 29%)
HSVhsv(301, 78%, 48%)
CMYKcmyk(0%, 78%, 1.6%, 51.8%)
CIE-LABlab(30.34, 51.16, -31.24)
CIE-LCHlch(30.34, 59.94, 328.59°)
OKLaboklab(42.17% 0.1438 -0.0865)
OKLCHoklch(42.17% 0.168 329)
XYZxyz(12.0114, 6.3762, 18.6836)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B79 #1B7B1D
analogous
#4D1B7B #7B1B79 #7B1B49
triadic
#7B1B79 #797B1B #1B797B
tetradic
#7B1B79 #7B4D1B #1B7B1D #1B497B
square
#7B1B79 #7B4D1B #1B7B1D #1B497B
split-complementary
#7B1B79 #497B1B #1B7B4D
monochromatic
#190619 #491048 #7B1B79 #AD26AA #D43CD1

Accessibility & contrast

On white

9.23
#7B1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B79
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B79#FFFFFF#000000##FFFFFF
##7B1B791.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7F2A49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1b79;
/* rgb */ color: rgb(123, 27, 121);
/* oklch */ color: oklch(42.2% 0.168 329.0);
Tailwind
colors: {
  custom: {
    50: '#a563a0',
    500: '#7b1b79',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b79;
$custom-light: #a563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b79",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 301.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.16777,
    "h": 329
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#7B1B79
secondary
#43AF45
accent
#E74441
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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