#791C71#791C71

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

Color values

HEX#791C71
RGBrgb(121, 28, 113)
HSLhsl(305, 62%, 29%)
HSVhsv(305, 77%, 47%)
CMYKcmyk(0%, 76.9%, 6.6%, 52.5%)
CIE-LABlab(29.63, 49.02, -27.30)
CIE-LCHlch(29.63, 56.11, 330.89°)
OKLaboklab(41.45% 0.1405 -0.0751)
OKLCHoklch(41.45% 0.159 331.9)
XYZxyz(11.2811, 6.0886, 16.2007)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C71 #1C7924
analogous
#531C79 #791C71 #791C43
triadic
#791C71 #71791C #1C7179
tetradic
#791C71 #79531C #1C7924 #1C4379
square
#791C71 #79531C #1C7924 #1C4379
split-complementary
#791C71 #43791C #1C7953
monochromatic
#190617 #471043 #791C71 #AB289F #D23DC5

Accessibility & contrast

On white

9.47
#791C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#791C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C71
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C71#FFFFFF#000000##FFFFFF
##791C711.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#7E2745
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791c71;
/* rgb */ color: rgb(121, 28, 113);
/* oklch */ color: oklch(41.4% 0.159 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3639a',
    500: '#791c71',
    950: '#000000',
  },
}
SCSS
$custom: #791c71;
$custom-light: #a3639a;
$custom-dark: #000000;
JSON
{
  "hex": "#791c71",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 305.161,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.1593,
    "h": 331.9
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#791C71
secondary
#44AD4D
accent
#E55042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791C71

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

Preview Lab → · Contrast checker → · Palette generator →

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