#791B76#791B76

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

Color values

HEX#791B76
RGBrgb(121, 27, 118)
HSLhsl(302, 64%, 29%)
HSVhsv(302, 78%, 47%)
CMYKcmyk(0%, 77.7%, 2.5%, 52.5%)
CIE-LABlab(29.81, 50.19, -30.21)
CIE-LCHlch(29.81, 58.58, 328.96°)
OKLaboklab(41.66% 0.1415 -0.0835)
OKLCHoklch(41.66% 0.164 329.5)
XYZxyz(11.5470, 6.1577, 17.7164)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B76 #1B791E
analogous
#4D1B79 #791B76 #791B47
triadic
#791B76 #76791B #1B7679
tetradic
#791B76 #794D1B #1B791E #1B4779
square
#791B76 #794D1B #1B791E #1B4779
split-complementary
#791B76 #47791B #1B794D
monochromatic
#190618 #471045 #791B76 #AB26A7 #D33BCE

Accessibility & contrast

On white

9.41
#791B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B76
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B76#FFFFFF#000000##FFFFFF
##791B761.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#7D2947
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791b76;
/* rgb */ color: rgb(121, 27, 118);
/* oklch */ color: oklch(41.7% 0.164 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3639e',
    500: '#791b76',
    950: '#000000',
  },
}
SCSS
$custom: #791b76;
$custom-light: #a3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#791b76",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 301.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.16435,
    "h": 329.5
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#791B76
secondary
#43AD46
accent
#E74741
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791B76

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

Preview Lab → · Contrast checker → · Palette generator →

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