#7B1D79#7B1D79

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

Color values

HEX#7B1D79
RGBrgb(123, 29, 121)
HSLhsl(301, 62%, 30%)
HSVhsv(301, 76%, 48%)
CMYKcmyk(0%, 76.4%, 1.6%, 51.8%)
CIE-LABlab(30.57, 50.50, -30.87)
CIE-LCHlch(30.57, 59.19, 328.56°)
OKLaboklab(42.34% 0.1419 -0.0854)
OKLCHoklch(42.34% 0.166 329)
XYZxyz(12.0588, 6.4711, 18.6994)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D79 #1D7B1F
analogous
#4E1D7B #7B1D79 #7B1D4A
triadic
#7B1D79 #797B1D #1D797B
tetradic
#7B1D79 #7B4E1D #1D7B1F #1D4A7B
square
#7B1D79 #7B4E1D #1D7B1F #1D4A7B
split-complementary
#7B1D79 #4A7B1D #1D7B4E
monochromatic
#190618 #491148 #7B1D79 #AD29AA #D240CF

Accessibility & contrast

On white

9.15
#7B1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D79
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D79#FFFFFF#000000##FFFFFF
##7B1D791.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1d79;
/* rgb */ color: rgb(123, 29, 121);
/* oklch */ color: oklch(42.3% 0.166 329.0);
Tailwind
colors: {
  custom: {
    50: '#a464a0',
    500: '#7b1d79',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d79;
$custom-light: #a464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d79",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 301.277,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.16564,
    "h": 329
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#7B1D79
secondary
#45AF47
accent
#E54643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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