#791D80#791D80

#791D80 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.170 H 324.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#791D80
RGBrgb(121, 29, 128)
HSLhsl(296, 63%, 31%)
HSVhsv(296, 77%, 50%)
CMYKcmyk(5.5%, 77.3%, 0%, 49.8%)
CIE-LABlab(30.65, 51.29, -35.18)
CIE-LCHlch(30.65, 62.20, 325.55°)
OKLaboklab(42.46% 0.1394 -0.098)
OKLCHoklch(42.46% 0.17 324.9)
XYZxyz(12.2205, 6.5030, 21.0294)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D80 #24801D
analogous
#481D80 #791D80 #801D55
triadic
#791D80 #80791D #1D8079
tetradic
#791D80 #80481D #24801D #1D5580
square
#791D80 #80481D #24801D #1D5580
split-complementary
#791D80 #55801D #1D8048
monochromatic
#1B061C #4A124E #791D80 #A828B2 #CA43D4

Accessibility & contrast

On white

9.13
#791D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#791D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D80
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D80#FFFFFF#000000##FFFFFF
##791D801.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#7C2F4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791d80;
/* rgb */ color: rgb(121, 29, 128);
/* oklch */ color: oklch(42.5% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a364a5',
    500: '#791d80',
    950: '#000000',
  },
}
SCSS
$custom: #791d80;
$custom-light: #a364a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791d80",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 295.758,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.17041,
    "h": 324.9
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#791D80
secondary
#4DB345
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791D80

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

Preview Lab → · Contrast checker → · Palette generator →

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