#791B79#791B79

#791B79 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.167 H 328.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#791B79
RGBrgb(121, 27, 121)
HSLhsl(300, 64%, 29%)
HSVhsv(300, 78%, 47%)
CMYKcmyk(0%, 77.7%, 0%, 52.5%)
CIE-LABlab(29.99, 50.71, -31.83)
CIE-LCHlch(29.99, 59.87, 327.89°)
OKLaboklab(41.85% 0.1415 -0.0882)
OKLCHoklch(41.85% 0.167 328.1)
XYZxyz(11.7281, 6.2302, 18.6703)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B79 #1B791B
analogous
#4A1B79 #791B79 #791B4A
triadic
#791B79 #79791B #1B7979
tetradic
#791B79 #794A1B #1B791B #1B4A79
square
#791B79 #794A1B #1B791B #1B4A79
split-complementary
#791B79 #4A791B #1B794A
monochromatic
#190619 #471047 #791B79 #AB26AB #D33BD3

Accessibility & contrast

On white

9.35
#791B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B79
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B79#FFFFFF#000000##FFFFFF
##791B791.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#7D2A49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791b79;
/* rgb */ color: rgb(121, 27, 121);
/* oklch */ color: oklch(41.8% 0.167 328.1);
Tailwind
colors: {
  custom: {
    50: '#a363a0',
    500: '#791b79',
    950: '#000000',
  },
}
SCSS
$custom: #791b79;
$custom-light: #a363a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791b79",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.16677,
    "h": 328.1
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#791B79
secondary
#43AD43
accent
#E74141
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #791B79

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

Preview Lab → · Contrast checker → · Palette generator →

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