#791E79#791E79

#791E79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.163 H 328.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#791E79
RGBrgb(121, 30, 121)
HSLhsl(300, 60%, 30%)
HSVhsv(300, 75%, 47%)
CMYKcmyk(0%, 75.2%, 0%, 52.5%)
CIE-LABlab(30.34, 49.70, -31.26)
CIE-LCHlch(30.34, 58.71, 327.83°)
OKLaboklab(42.1% 0.1387 -0.0866)
OKLCHoklch(42.1% 0.163 328)
XYZxyz(11.8005, 6.3748, 18.6944)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E79 #1E791E
analogous
#4C1E79 #791E79 #791E4C
triadic
#791E79 #79791E #1E7979
tetradic
#791E79 #794C1E #1E791E #1E4C79
square
#791E79 #794C1E #1E791E #1E4C79
split-complementary
#791E79 #4C791E #1E794C
monochromatic
#190619 #481248 #791E79 #AA2AAA #D041D0

Accessibility & contrast

On white

9.23
#791E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791E79
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E79#FFFFFF#000000##FFFFFF
##791E791.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7D2C4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791e79;
/* rgb */ color: rgb(121, 30, 121);
/* oklch */ color: oklch(42.1% 0.163 328.0);
Tailwind
colors: {
  custom: {
    50: '#a364a0',
    500: '#791e79',
    950: '#000000',
  },
}
SCSS
$custom: #791e79;
$custom-light: #a364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791e79",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.16349,
    "h": 328
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#791E79
secondary
#46AD46
accent
#E34444
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #791E79

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

Preview Lab → · Contrast checker → · Palette generator →

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