#791A74#791A74

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

Color values

HEX#791A74
RGBrgb(121, 26, 116)
HSLhsl(303, 65%, 29%)
HSVhsv(303, 79%, 47%)
CMYKcmyk(0%, 78.5%, 4.1%, 52.5%)
CIE-LABlab(29.58, 50.18, -29.30)
CIE-LCHlch(29.58, 58.11, 329.72°)
OKLaboklab(41.46% 0.1425 -0.0809)
OKLCHoklch(41.46% 0.164 330.4)
XYZxyz(11.4069, 6.0656, 17.0896)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A74 #1A791F
analogous
#4F1A79 #791A74 #791A45
triadic
#791A74 #74791A #1A7479
tetradic
#791A74 #794F1A #1A791F #1A4579
square
#791A74 #794F1A #1A791F #1A4579
split-complementary
#791A74 #45791A #1A794F
monochromatic
#190518 #470F44 #791A74 #AB25A4 #D439CC

Accessibility & contrast

On white

9.49
#791A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A74
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A74#FFFFFF#000000##FFFFFF
##791A741.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7E2746
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a74;
/* rgb */ color: rgb(121, 26, 116);
/* oklch */ color: oklch(41.5% 0.164 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3629c',
    500: '#791a74',
    950: '#000000',
  },
}
SCSS
$custom: #791a74;
$custom-light: #a3629c;
$custom-dark: #000000;
JSON
{
  "hex": "#791a74",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 303.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.16382,
    "h": 330.4
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#791A74
secondary
#41AD47
accent
#E84940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791A74

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

Preview Lab → · Contrast checker → · Palette generator →

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