#791A78#791A78

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

Color values

HEX#791A78
RGBrgb(121, 26, 120)
HSLhsl(301, 65%, 29%)
HSVhsv(301, 79%, 47%)
CMYKcmyk(0%, 78.5%, 0.8%, 52.5%)
CIE-LABlab(29.81, 50.86, -31.47)
CIE-LCHlch(29.81, 59.80, 328.25°)
OKLaboklab(41.71% 0.1424 -0.0872)
OKLCHoklch(41.71% 0.167 328.5)
XYZxyz(11.6446, 6.1607, 18.3415)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A78 #1A791B
analogous
#4B1A79 #791A78 #791A49
triadic
#791A78 #78791A #1A7879
tetradic
#791A78 #794B1A #1A791B #1A4979
square
#791A78 #794B1A #1A791B #1A4979
split-complementary
#791A78 #49791A #1A794B
monochromatic
#190519 #470F46 #791A78 #AB25AA #D439D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791A78#FFFFFF#000000##FFFFFF
##791A781.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)
#053E7B
Deuteranopia (green-blind)
#364A76
Tritanopia (blue-blind)
#7D2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a78;
/* rgb */ color: rgb(121, 26, 120);
/* oklch */ color: oklch(41.7% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#a3639f',
    500: '#791a78',
    950: '#000000',
  },
}
SCSS
$custom: #791a78;
$custom-light: #a3639f;
$custom-dark: #000000;
JSON
{
  "hex": "#791a78",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 300.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.167,
    "h": 328.5
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#791A78
secondary
#41AD43
accent
#E84240
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791A78

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

Preview Lab → · Contrast checker → · Palette generator →

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