#791A73#791A73

#791A73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.163 H 330.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#791A73
RGBrgb(121, 26, 115)
HSLhsl(304, 65%, 29%)
HSVhsv(304, 79%, 47%)
CMYKcmyk(0%, 78.5%, 5%, 52.5%)
CIE-LABlab(29.52, 50.01, -28.76)
CIE-LCHlch(29.52, 57.69, 330.10°)
OKLaboklab(41.4% 0.1424 -0.0793)
OKLCHoklch(41.4% 0.163 330.9)
XYZxyz(11.3490, 6.0425, 16.7849)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A73 #1A7920
analogous
#501A79 #791A73 #791A44
triadic
#791A73 #73791A #1A7379
tetradic
#791A73 #79501A #1A7920 #1A4479
square
#791A73 #79501A #1A7920 #1A4479
split-complementary
#791A73 #44791A #1A7950
monochromatic
#190518 #470F43 #791A73 #AB25A3 #D439CB

Accessibility & contrast

On white

9.51
#791A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A73
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A73#FFFFFF#000000##FFFFFF
##791A731.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#7E2745
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a73;
/* rgb */ color: rgb(121, 26, 115);
/* oklch */ color: oklch(41.4% 0.163 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3629b',
    500: '#791a73',
    950: '#000000',
  },
}
SCSS
$custom: #791a73;
$custom-light: #a3629b;
$custom-dark: #000000;
JSON
{
  "hex": "#791a73",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 303.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.16304,
    "h": 330.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#791A73
secondary
#41AD48
accent
#E84B40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791A73

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

Preview Lab → · Contrast checker → · Palette generator →

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