#791D74#791D74

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

Color values

HEX#791D74
RGBrgb(121, 29, 116)
HSLhsl(303, 61%, 29%)
HSVhsv(303, 76%, 47%)
CMYKcmyk(0%, 76%, 4.1%, 52.5%)
CIE-LABlab(29.93, 49.18, -28.75)
CIE-LCHlch(29.93, 56.97, 329.69°)
OKLaboklab(41.71% 0.1396 -0.0793)
OKLCHoklch(41.71% 0.161 330.4)
XYZxyz(11.4769, 6.2055, 17.1129)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D74 #1D7922
analogous
#501D79 #791D74 #791D46
triadic
#791D74 #74791D #1D7479
tetradic
#791D74 #79501D #1D7922 #1D4679
square
#791D74 #79501D #1D7922 #1D4679
split-complementary
#791D74 #46791D #1D7950
monochromatic
#190618 #481145 #791D74 #AA29A3 #D13FC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791D74#FFFFFF#000000##FFFFFF
##791D741.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)
#123E76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#7E2947
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791d74;
/* rgb */ color: rgb(121, 29, 116);
/* oklch */ color: oklch(41.7% 0.161 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3649c',
    500: '#791d74',
    950: '#000000',
  },
}
SCSS
$custom: #791d74;
$custom-light: #a3649c;
$custom-dark: #000000;
JSON
{
  "hex": "#791d74",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 303.261,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.16055,
    "h": 330.4
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#791D74
secondary
#45AD4B
accent
#E44C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D74

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

Preview Lab → · Contrast checker → · Palette generator →

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