#791D76#791D76

#791D76 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.162 H 329.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#791D76
RGBrgb(121, 29, 118)
HSLhsl(302, 61%, 29%)
HSVhsv(302, 76%, 47%)
CMYKcmyk(0%, 76%, 2.5%, 52.5%)
CIE-LABlab(30.04, 49.52, -29.84)
CIE-LCHlch(30.04, 57.82, 328.93°)
OKLaboklab(41.83% 0.1396 -0.0825)
OKLCHoklch(41.83% 0.162 329.4)
XYZxyz(11.5945, 6.2526, 17.7322)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D76 #1D7920
analogous
#4E1D79 #791D76 #791D48
triadic
#791D76 #76791D #1D7679
tetradic
#791D76 #794E1D #1D7920 #1D4879
square
#791D76 #794E1D #1D7920 #1D4879
split-complementary
#791D76 #48791D #1D794E
monochromatic
#190618 #481146 #791D76 #AA29A6 #D13FCC

Accessibility & contrast

On white

9.33
#791D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#791D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D76
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D76#FFFFFF#000000##FFFFFF
##791D761.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#7D2A48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791d76;
/* rgb */ color: rgb(121, 29, 118);
/* oklch */ color: oklch(41.8% 0.162 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3649e',
    500: '#791d76',
    950: '#000000',
  },
}
SCSS
$custom: #791d76;
$custom-light: #a3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#791d76",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 301.957,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.16217,
    "h": 329.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#791D76
secondary
#45AD48
accent
#E44943
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D76

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

Preview Lab → · Contrast checker → · Palette generator →

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