#791B77#791B77

#791B77 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.165 H 329.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#791B77
RGBrgb(121, 27, 119)
HSLhsl(301, 64%, 29%)
HSVhsv(301, 78%, 47%)
CMYKcmyk(0%, 77.7%, 1.7%, 52.5%)
CIE-LABlab(29.87, 50.36, -30.75)
CIE-LCHlch(29.87, 59.01, 328.59°)
OKLaboklab(41.73% 0.1415 -0.0851)
OKLCHoklch(41.73% 0.165 329)
XYZxyz(11.6068, 6.1816, 18.0310)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B77 #1B791D
analogous
#4C1B79 #791B77 #791B48
triadic
#791B77 #77791B #1B7779
tetradic
#791B77 #794C1B #1B791D #1B4879
square
#791B77 #794C1B #1B791D #1B4879
split-complementary
#791B77 #48791B #1B794C
monochromatic
#190619 #471046 #791B77 #AB26A8 #D33BD0

Accessibility & contrast

On white

9.39
#791B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B77
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B77#FFFFFF#000000##FFFFFF
##791B771.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E79
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7D2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791b77;
/* rgb */ color: rgb(121, 27, 119);
/* oklch */ color: oklch(41.7% 0.165 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791b77',
    950: '#000000',
  },
}
SCSS
$custom: #791b77;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791b77",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 301.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.16515,
    "h": 329
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#791B77
secondary
#43AD45
accent
#E74541
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791B77

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

Preview Lab → · Contrast checker → · Palette generator →

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