#791F73#791F73

#791F73 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 330.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#791F73
RGBrgb(121, 31, 115)
HSLhsl(304, 59%, 30%)
HSVhsv(304, 74%, 47%)
CMYKcmyk(0%, 74.4%, 5%, 52.5%)
CIE-LABlab(30.12, 48.30, -27.81)
CIE-LCHlch(30.12, 55.74, 330.07°)
OKLaboklab(41.83% 0.1375 -0.0766)
OKLCHoklch(41.83% 0.157 330.9)
XYZxyz(11.4696, 6.2836, 16.8251)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F73 #1F7925
analogous
#521F79 #791F73 #791F46
triadic
#791F73 #73791F #1F7379
tetradic
#791F73 #79521F #1F7925 #1F4679
square
#791F73 #79521F #1F7925 #1F4679
split-complementary
#791F73 #46791F #1F7952
monochromatic
#180617 #481345 #791F73 #AA2BA1 #CF43C6

Accessibility & contrast

On white

9.31
#791F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F73
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F73#FFFFFF#000000##FFFFFF
##791F731.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7E2A47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791f73;
/* rgb */ color: rgb(121, 31, 115);
/* oklch */ color: oklch(41.8% 0.157 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3649b',
    500: '#791f73',
    950: '#000000',
  },
}
SCSS
$custom: #791f73;
$custom-light: #a3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#791f73",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 304,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.15742,
    "h": 330.9
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#791F73
secondary
#47AC4E
accent
#E25045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791F73

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

Preview Lab → · Contrast checker → · Palette generator →

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