#7B1D77#7B1D77

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

Color values

HEX#7B1D77
RGBrgb(123, 29, 119)
HSLhsl(303, 62%, 30%)
HSVhsv(303, 76%, 48%)
CMYKcmyk(0%, 76.4%, 3.3%, 51.8%)
CIE-LABlab(30.45, 50.16, -29.79)
CIE-LCHlch(30.45, 58.34, 329.29°)
OKLaboklab(42.21% 0.1419 -0.0823)
OKLCHoklch(42.21% 0.164 329.9)
XYZxyz(11.9375, 6.4225, 18.0601)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D77 #1D7B21
analogous
#501D7B #7B1D77 #7B1D48
triadic
#7B1D77 #777B1D #1D777B
tetradic
#7B1D77 #7B501D #1D7B21 #1D487B
square
#7B1D77 #7B501D #1D7B21 #1D487B
split-complementary
#7B1D77 #487B1D #1D7B50
monochromatic
#190618 #491147 #7B1D77 #AD29A7 #D240CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1D77#FFFFFF#000000##FFFFFF
##7B1D771.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)
#104079
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#802A48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1d77;
/* rgb */ color: rgb(123, 29, 119);
/* oklch */ color: oklch(42.2% 0.164 329.9);
Tailwind
colors: {
  custom: {
    50: '#a4649e',
    500: '#7b1d77',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d77;
$custom-light: #a4649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d77",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 302.553,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.16403,
    "h": 329.9
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#7B1D77
secondary
#45AF4A
accent
#E54A43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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