#791D77#791D77

#791D77 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.163 H 329.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#791D77
RGBrgb(121, 29, 119)
HSLhsl(301, 61%, 29%)
HSVhsv(301, 76%, 47%)
CMYKcmyk(0%, 76%, 1.7%, 52.5%)
CIE-LABlab(30.10, 49.69, -30.38)
CIE-LCHlch(30.10, 58.24, 328.56°)
OKLaboklab(41.89% 0.1396 -0.084)
OKLCHoklch(41.89% 0.163 329)
XYZxyz(11.6542, 6.2765, 18.0468)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D77 #1D791F
analogous
#4D1D79 #791D77 #791D49
triadic
#791D77 #77791D #1D7779
tetradic
#791D77 #794D1D #1D791F #1D4979
square
#791D77 #794D1D #1D791F #1D4979
split-complementary
#791D77 #49791D #1D794D
monochromatic
#190618 #481146 #791D77 #AA29A8 #D13FCE

Accessibility & contrast

On white

9.31
#791D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#791D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D77
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D77#FFFFFF#000000##FFFFFF
##791D771.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)
#0E3F79
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7D2B48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791d77;
/* rgb */ color: rgb(121, 29, 119);
/* oklch */ color: oklch(41.9% 0.163 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3649e',
    500: '#791d77',
    950: '#000000',
  },
}
SCSS
$custom: #791d77;
$custom-light: #a3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#791d77",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 301.304,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.16298,
    "h": 329
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#791D77
secondary
#45AD47
accent
#E44743
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D77

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

Preview Lab → · Contrast checker → · Palette generator →

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