#7B1A77#7B1A77

#7B1A77 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.167 H 329.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7B1A77
RGBrgb(123, 26, 119)
HSLhsl(302, 65%, 29%)
HSVhsv(302, 79%, 48%)
CMYKcmyk(0%, 78.9%, 3.3%, 51.8%)
CIE-LABlab(30.11, 51.14, -30.33)
CIE-LCHlch(30.11, 59.46, 329.32°)
OKLaboklab(41.97% 0.1447 -0.0838)
OKLCHoklch(41.97% 0.167 329.9)
XYZxyz(11.8675, 6.2826, 18.0368)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A77 #1A7B1E
analogous
#4F1A7B #7B1A77 #7B1A47
triadic
#7B1A77 #777B1A #1A777B
tetradic
#7B1A77 #7B4F1A #1A7B1E #1A477B
square
#7B1A77 #7B4F1A #1A7B1E #1A477B
split-complementary
#7B1A77 #477B1A #1A7B4F
monochromatic
#190518 #480F46 #7B1A77 #AE25A8 #D53ACF

Accessibility & contrast

On white

9.31
#7B1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A77
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A77#FFFFFF#000000##FFFFFF
##7B1A771.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F79
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#802848
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1a77;
/* rgb */ color: rgb(123, 26, 119);
/* oklch */ color: oklch(42.0% 0.167 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5639e',
    500: '#7b1a77',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a77;
$custom-light: #a5639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a77",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 302.474,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.16721,
    "h": 329.9
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#7B1A77
secondary
#42AF46
accent
#E84740
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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