#791E73#791E73

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

Color values

HEX#791E73
RGBrgb(121, 30, 115)
HSLhsl(304, 60%, 30%)
HSVhsv(304, 75%, 47%)
CMYKcmyk(0%, 75.2%, 5%, 52.5%)
CIE-LABlab(29.99, 48.66, -28.01)
CIE-LCHlch(29.99, 56.15, 330.07°)
OKLaboklab(41.74% 0.1386 -0.0772)
OKLCHoklch(41.74% 0.159 330.9)
XYZxyz(11.4439, 6.2322, 16.8165)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E73 #1E7924
analogous
#521E79 #791E73 #791E46
triadic
#791E73 #73791E #1E7379
tetradic
#791E73 #79521E #1E7924 #1E4679
square
#791E73 #79521E #1E7924 #1E4679
split-complementary
#791E73 #46791E #1E7952
monochromatic
#190617 #481244 #791E73 #AA2AA2 #D041C7

Accessibility & contrast

On white

9.35
#791E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#791E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E73
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E73#FFFFFF#000000##FFFFFF
##791E731.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791e73;
/* rgb */ color: rgb(121, 30, 115);
/* oklch */ color: oklch(41.7% 0.159 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3649b',
    500: '#791e73',
    950: '#000000',
  },
}
SCSS
$custom: #791e73;
$custom-light: #a3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#791e73",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 303.956,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.1586,
    "h": 330.9
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#791E73
secondary
#46AD4D
accent
#E34F44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E73

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

Preview Lab → · Contrast checker → · Palette generator →

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