#791A77#791A77

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

Color values

HEX#791A77
RGBrgb(121, 26, 119)
HSLhsl(301, 65%, 29%)
HSVhsv(301, 79%, 47%)
CMYKcmyk(0%, 78.5%, 1.7%, 52.5%)
CIE-LABlab(29.75, 50.68, -30.93)
CIE-LCHlch(29.75, 59.38, 328.61°)
OKLaboklab(41.65% 0.1425 -0.0856)
OKLCHoklch(41.65% 0.166 329)
XYZxyz(11.5842, 6.1365, 18.0235)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A77 #1A791C
analogous
#4C1A79 #791A77 #791A48
triadic
#791A77 #77791A #1A7779
tetradic
#791A77 #794C1A #1A791C #1A4879
square
#791A77 #794C1A #1A791C #1A4879
split-complementary
#791A77 #48791A #1A794C
monochromatic
#190519 #470F45 #791A77 #AB25A9 #D439D1

Accessibility & contrast

On white

9.43
#791A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A77
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A77#FFFFFF#000000##FFFFFF
##791A771.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E79
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#7D2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a77;
/* rgb */ color: rgb(121, 26, 119);
/* oklch */ color: oklch(41.6% 0.166 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791a77',
    950: '#000000',
  },
}
SCSS
$custom: #791a77;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791a77",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 301.263,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.1662,
    "h": 329
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#791A77
secondary
#41AD44
accent
#E84440
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791A77

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

Preview Lab → · Contrast checker → · Palette generator →

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