#791A76#791A76

#791A76 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.165 H 329.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#791A76
RGBrgb(121, 26, 118)
HSLhsl(302, 65%, 29%)
HSVhsv(302, 79%, 47%)
CMYKcmyk(0%, 78.5%, 2.5%, 52.5%)
CIE-LABlab(29.69, 50.51, -30.39)
CIE-LCHlch(29.69, 58.95, 328.97°)
OKLaboklab(41.58% 0.1425 -0.084)
OKLCHoklch(41.58% 0.165 329.5)
XYZxyz(11.5245, 6.1126, 17.7089)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A76 #1A791D
analogous
#4D1A79 #791A76 #791A47
triadic
#791A76 #76791A #1A7679
tetradic
#791A76 #794D1A #1A791D #1A4779
square
#791A76 #794D1A #1A791D #1A4779
split-complementary
#791A76 #47791A #1A794D
monochromatic
#190519 #470F45 #791A76 #AB25A7 #D439D0

Accessibility & contrast

On white

9.45
#791A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#791A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A76
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A76#FFFFFF#000000##FFFFFF
##791A761.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E78
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#7E2847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a76;
/* rgb */ color: rgb(121, 26, 118);
/* oklch */ color: oklch(41.6% 0.165 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791a76',
    950: '#000000',
  },
}
SCSS
$custom: #791a76;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791a76",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 301.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.1654,
    "h": 329.5
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#791A76
secondary
#41AD45
accent
#E84540
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791A76

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

Preview Lab → · Contrast checker → · Palette generator →

#791A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva