#791D71#791D71

#791D71 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.158 H 331.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#791D71
RGBrgb(121, 29, 113)
HSLhsl(305, 61%, 29%)
HSVhsv(305, 76%, 47%)
CMYKcmyk(0%, 76%, 6.6%, 52.5%)
CIE-LABlab(29.76, 48.67, -27.11)
CIE-LCHlch(29.76, 55.71, 330.88°)
OKLaboklab(41.53% 0.1395 -0.0746)
OKLCHoklch(41.53% 0.158 331.9)
XYZxyz(11.3052, 6.1369, 16.2087)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D71 #1D7925
analogous
#531D79 #791D71 #791D43
triadic
#791D71 #71791D #1D7179
tetradic
#791D71 #79531D #1D7925 #1D4379
square
#791D71 #79531D #1D7925 #1D4379
split-complementary
#791D71 #43791D #1D7953
monochromatic
#190617 #481143 #791D71 #AA299F #D13FC4

Accessibility & contrast

On white

9.43
#791D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791D71
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D71#FFFFFF#000000##FFFFFF
##791D711.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7E2845
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791d71;
/* rgb */ color: rgb(121, 29, 113);
/* oklch */ color: oklch(41.5% 0.158 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3639a',
    500: '#791d71',
    950: '#000000',
  },
}
SCSS
$custom: #791d71;
$custom-light: #a3639a;
$custom-dark: #000000;
JSON
{
  "hex": "#791d71",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 305.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41534,
    "c": 0.15816,
    "h": 331.9
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#791D71
secondary
#45AD4E
accent
#E45143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D71

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

Preview Lab → · Contrast checker → · Palette generator →

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