#791C76#791C76

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

Color values

HEX#791C76
RGBrgb(121, 28, 118)
HSLhsl(302, 62%, 29%)
HSVhsv(302, 77%, 47%)
CMYKcmyk(0%, 76.9%, 2.5%, 52.5%)
CIE-LABlab(29.92, 49.86, -30.03)
CIE-LCHlch(29.92, 58.20, 328.94°)
OKLaboklab(41.75% 0.1406 -0.083)
OKLCHoklch(41.75% 0.163 329.4)
XYZxyz(11.5703, 6.2043, 17.7242)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C76 #1C791F
analogous
#4E1C79 #791C76 #791C48
triadic
#791C76 #76791C #1C7679
tetradic
#791C76 #794E1C #1C791F #1C4879
square
#791C76 #794E1C #1C791F #1C4879
split-complementary
#791C76 #48791C #1C794E
monochromatic
#190618 #471046 #791C76 #AB28A6 #D23DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791C76#FFFFFF#000000##FFFFFF
##791C761.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)
#0E3F78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#7D2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791c76;
/* rgb */ color: rgb(121, 28, 118);
/* oklch */ color: oklch(41.7% 0.163 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791c76',
    950: '#000000',
  },
}
SCSS
$custom: #791c76;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791c76",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 301.935,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.16328,
    "h": 329.4
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#791C76
secondary
#44AD47
accent
#E54842
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791C76

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

Preview Lab → · Contrast checker → · Palette generator →

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