#791E77#791E77

#791E77 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.162 H 328.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#791E77
RGBrgb(121, 30, 119)
HSLhsl(301, 60%, 30%)
HSVhsv(301, 75%, 47%)
CMYKcmyk(0%, 75.2%, 1.7%, 52.5%)
CIE-LABlab(30.22, 49.35, -30.19)
CIE-LCHlch(30.22, 57.85, 328.55°)
OKLaboklab(41.98% 0.1387 -0.0835)
OKLCHoklch(41.98% 0.162 328.9)
XYZxyz(11.6791, 6.3263, 18.0551)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E77 #1E7920
analogous
#4E1E79 #791E77 #791E49
triadic
#791E77 #77791E #1E7779
tetradic
#791E77 #794E1E #1E7920 #1E4979
square
#791E77 #794E1E #1E7920 #1E4979
split-complementary
#791E77 #49791E #1E794E
monochromatic
#190618 #481247 #791E77 #AA2AA7 #D041CD

Accessibility & contrast

On white

9.27
#791E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#791E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E77
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E77#FFFFFF#000000##FFFFFF
##791E771.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F79
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#7D2B49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791e77;
/* rgb */ color: rgb(121, 30, 119);
/* oklch */ color: oklch(42.0% 0.162 328.9);
Tailwind
colors: {
  custom: {
    50: '#a3649e',
    500: '#791e77',
    950: '#000000',
  },
}
SCSS
$custom: #791e77;
$custom-light: #a3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#791e77",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 301.319,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.16185,
    "h": 328.9
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#791E77
secondary
#46AD48
accent
#E34844
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E77

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

Preview Lab → · Contrast checker → · Palette generator →

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