#791D72#791D72

#791D72 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.159 H 331.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#791D72
RGBrgb(121, 29, 114)
HSLhsl(305, 61%, 29%)
HSVhsv(305, 76%, 47%)
CMYKcmyk(0%, 76%, 5.8%, 52.5%)
CIE-LABlab(29.81, 48.84, -27.66)
CIE-LCHlch(29.81, 56.13, 330.48°)
OKLaboklab(41.59% 0.1395 -0.0762)
OKLCHoklch(41.59% 0.159 331.4)
XYZxyz(11.3618, 6.1595, 16.5068)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D72 #1D7924
analogous
#521D79 #791D72 #791D44
triadic
#791D72 #72791D #1D7279
tetradic
#791D72 #79521D #1D7924 #1D4479
square
#791D72 #79521D #1D7924 #1D4479
split-complementary
#791D72 #44791D #1D7952
monochromatic
#190617 #481143 #791D72 #AA29A1 #D13FC6

Accessibility & contrast

On white

9.41
#791D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D72
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D72#FFFFFF#000000##FFFFFF
##791D721.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#7E2846
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791d72;
/* rgb */ color: rgb(121, 29, 114);
/* oklch */ color: oklch(41.6% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3649b',
    500: '#791d72',
    950: '#000000',
  },
}
SCSS
$custom: #791d72;
$custom-light: #a3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#791d72",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 304.565,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.15896,
    "h": 331.4
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#791D72
secondary
#45AD4D
accent
#E45043
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D72

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

Preview Lab → · Contrast checker → · Palette generator →

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