#791D78#791D78

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

Color values

HEX#791D78
RGBrgb(121, 29, 120)
HSLhsl(301, 61%, 29%)
HSVhsv(301, 76%, 47%)
CMYKcmyk(0%, 76%, 0.8%, 52.5%)
CIE-LABlab(30.16, 49.87, -30.92)
CIE-LCHlch(30.16, 58.68, 328.20°)
OKLaboklab(41.95% 0.1396 -0.0856)
OKLCHoklch(41.95% 0.164 328.5)
XYZxyz(11.7146, 6.3006, 18.3648)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D78 #1D791E
analogous
#4C1D79 #791D78 #791D4A
triadic
#791D78 #78791D #1D7879
tetradic
#791D78 #794C1D #1D791E #1D4A79
square
#791D78 #794C1D #1D791E #1D4A79
split-complementary
#791D78 #4A791D #1D794C
monochromatic
#190618 #481147 #791D78 #AA29A9 #D13FCF

Accessibility & contrast

On white

9.29
#791D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791D78
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D78#FFFFFF#000000##FFFFFF
##791D781.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F7A
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#7D2B49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791d78;
/* rgb */ color: rgb(121, 29, 120);
/* oklch */ color: oklch(42.0% 0.164 328.5);
Tailwind
colors: {
  custom: {
    50: '#a3649f',
    500: '#791d78',
    950: '#000000',
  },
}
SCSS
$custom: #791d78;
$custom-light: #a3649f;
$custom-dark: #000000;
JSON
{
  "hex": "#791d78",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 300.652,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41953,
    "c": 0.16379,
    "h": 328.5
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#791D78
secondary
#45AD46
accent
#E44543
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D78

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

Preview Lab → · Contrast checker → · Palette generator →

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