#7B1B77#7B1B77

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

Color values

HEX#7B1B77
RGBrgb(123, 27, 119)
HSLhsl(303, 64%, 29%)
HSVhsv(303, 78%, 48%)
CMYKcmyk(0%, 78%, 3.3%, 51.8%)
CIE-LABlab(30.22, 50.82, -30.16)
CIE-LCHlch(30.22, 59.09, 329.31°)
OKLaboklab(42.05% 0.1438 -0.0833)
OKLCHoklch(42.05% 0.166 329.9)
XYZxyz(11.8900, 6.3277, 18.0443)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B77 #1B7B1F
analogous
#4F1B7B #7B1B77 #7B1B47
triadic
#7B1B77 #777B1B #1B777B
tetradic
#7B1B77 #7B4F1B #1B7B1F #1B477B
square
#7B1B77 #7B4F1B #1B7B1F #1B477B
split-complementary
#7B1B77 #477B1B #1B7B4F
monochromatic
#190618 #491046 #7B1B77 #AD26A8 #D43CCE

Accessibility & contrast

On white

9.27
#7B1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B77
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B77#FFFFFF#000000##FFFFFF
##7B1B771.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3F79
Deuteranopia (green-blind)
#384C75
Tritanopia (blue-blind)
#802948
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1b77;
/* rgb */ color: rgb(123, 27, 119);
/* oklch */ color: oklch(42.0% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5639e',
    500: '#7b1b77',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b77;
$custom-light: #a5639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b77",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 302.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.16618,
    "h": 329.9
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#7B1B77
secondary
#43AF47
accent
#E74841
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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