#791D79#791D79

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

Color values

HEX#791D79
RGBrgb(121, 29, 121)
HSLhsl(300, 61%, 29%)
HSVhsv(300, 76%, 47%)
CMYKcmyk(0%, 76%, 0%, 52.5%)
CIE-LABlab(30.22, 50.04, -31.46)
CIE-LCHlch(30.22, 59.11, 327.85°)
OKLaboklab(42.02% 0.1396 -0.0872)
OKLCHoklch(42.02% 0.165 328)
XYZxyz(11.7756, 6.3250, 18.6861)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D79 #1D791D
analogous
#4B1D79 #791D79 #791D4B
triadic
#791D79 #79791D #1D7979
tetradic
#791D79 #794B1D #1D791D #1D4B79
square
#791D79 #794B1D #1D791D #1D4B79
split-complementary
#791D79 #4B791D #1D794B
monochromatic
#190619 #481148 #791D79 #AA29AA #D13FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791D79#FFFFFF#000000##FFFFFF
##791D791.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7D2B49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791d79;
/* rgb */ color: rgb(121, 29, 121);
/* oklch */ color: oklch(42.0% 0.165 328.0);
Tailwind
colors: {
  custom: {
    50: '#a364a0',
    500: '#791d79',
    950: '#000000',
  },
}
SCSS
$custom: #791d79;
$custom-light: #a364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791d79",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.16461,
    "h": 328
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#791D79
secondary
#45AD45
accent
#E44343
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #791D79

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

Preview Lab → · Contrast checker → · Palette generator →

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