#791C77#791C77

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

Color values

HEX#791C77
RGBrgb(121, 28, 119)
HSLhsl(301, 62%, 29%)
HSVhsv(301, 77%, 47%)
CMYKcmyk(0%, 76.9%, 1.7%, 52.5%)
CIE-LABlab(29.98, 50.03, -30.57)
CIE-LCHlch(29.98, 58.63, 328.58°)
OKLaboklab(41.81% 0.1406 -0.0846)
OKLCHoklch(41.81% 0.164 329)
XYZxyz(11.6301, 6.2282, 18.0388)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C77 #1C791E
analogous
#4D1C79 #791C77 #791C49
triadic
#791C77 #77791C #1C7779
tetradic
#791C77 #794D1C #1C791E #1C4979
square
#791C77 #794D1C #1C791E #1C4979
split-complementary
#791C77 #49791C #1C794D
monochromatic
#190618 #471046 #791C77 #AB28A8 #D23DCF

Accessibility & contrast

On white

9.35
#791C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#791C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C77
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C77#FFFFFF#000000##FFFFFF
##791C771.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7D2A48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791c77;
/* rgb */ color: rgb(121, 28, 119);
/* oklch */ color: oklch(41.8% 0.164 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791c77',
    950: '#000000',
  },
}
SCSS
$custom: #791c77;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791c77",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 301.29,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.16408,
    "h": 329
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#791C77
secondary
#44AD46
accent
#E54642
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791C77

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

Preview Lab → · Contrast checker → · Palette generator →

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