#791D73#791D73

#791D73 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.160 H 330.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#791D73
RGBrgb(121, 29, 115)
HSLhsl(304, 61%, 29%)
HSVhsv(304, 76%, 47%)
CMYKcmyk(0%, 76%, 5%, 52.5%)
CIE-LABlab(29.87, 49.01, -28.20)
CIE-LCHlch(29.87, 56.55, 330.08°)
OKLaboklab(41.65% 0.1396 -0.0777)
OKLCHoklch(41.65% 0.16 330.9)
XYZxyz(11.4190, 6.1824, 16.8082)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D73 #1D7923
analogous
#511D79 #791D73 #791D45
triadic
#791D73 #73791D #1D7379
tetradic
#791D73 #79511D #1D7923 #1D4579
square
#791D73 #79511D #1D7923 #1D4579
split-complementary
#791D73 #45791D #1D7951
monochromatic
#190617 #481144 #791D73 #AA29A2 #D13FC8

Accessibility & contrast

On white

9.39
#791D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D73
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D73#FFFFFF#000000##FFFFFF
##791D731.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7E2946
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791d73;
/* rgb */ color: rgb(121, 29, 115);
/* oklch */ color: oklch(41.7% 0.160 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3649b',
    500: '#791d73',
    950: '#000000',
  },
}
SCSS
$custom: #791d73;
$custom-light: #a3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#791d73",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 303.913,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.15975,
    "h": 330.9
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#791D73
secondary
#45AD4C
accent
#E44E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D73

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

Preview Lab → · Contrast checker → · Palette generator →

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