#791E72#791E72

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

Color values

HEX#791E72
RGBrgb(121, 30, 114)
HSLhsl(305, 60%, 30%)
HSVhsv(305, 75%, 47%)
CMYKcmyk(0%, 75.2%, 5.8%, 52.5%)
CIE-LABlab(29.93, 48.49, -27.46)
CIE-LCHlch(29.93, 55.73, 330.47°)
OKLaboklab(41.68% 0.1385 -0.0756)
OKLCHoklch(41.68% 0.158 331.4)
XYZxyz(11.3867, 6.2093, 16.5151)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E72 #1E7925
analogous
#521E79 #791E72 #791E45
triadic
#791E72 #72791E #1E7279
tetradic
#791E72 #79521E #1E7925 #1E4579
square
#791E72 #79521E #1E7925 #1E4579
split-complementary
#791E72 #45791E #1E7952
monochromatic
#190617 #481244 #791E72 #AA2AA0 #D041C5

Accessibility & contrast

On white

9.37
#791E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791E72
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E72#FFFFFF#000000##FFFFFF
##791E721.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E74
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#7E2946
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791e72;
/* rgb */ color: rgb(121, 30, 114);
/* oklch */ color: oklch(41.7% 0.158 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3649b',
    500: '#791e72',
    950: '#000000',
  },
}
SCSS
$custom: #791e72;
$custom-light: #a3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#791e72",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 304.615,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.1578,
    "h": 331.4
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#791E72
secondary
#46AD4E
accent
#E35144
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E72

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

Preview Lab → · Contrast checker → · Palette generator →

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