#791C79#791C79

#791C79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.166 H 328.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#791C79
RGBrgb(121, 28, 121)
HSLhsl(300, 62%, 29%)
HSVhsv(300, 77%, 47%)
CMYKcmyk(0%, 76.9%, 0%, 52.5%)
CIE-LABlab(30.10, 50.38, -31.64)
CIE-LCHlch(30.10, 59.49, 327.87°)
OKLaboklab(41.93% 0.1406 -0.0877)
OKLCHoklch(41.93% 0.166 328)
XYZxyz(11.7515, 6.2768, 18.6781)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C79 #1C791C
analogous
#4B1C79 #791C79 #791C4B
triadic
#791C79 #79791C #1C7979
tetradic
#791C79 #794B1C #1C791C #1C4B79
square
#791C79 #794B1C #1C791C #1C4B79
split-complementary
#791C79 #4B791C #1C794B
monochromatic
#190619 #471047 #791C79 #AB28AB #D23DD2

Accessibility & contrast

On white

9.31
#791C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#791C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C79
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C79#FFFFFF#000000##FFFFFF
##791C791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7D2B49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791c79;
/* rgb */ color: rgb(121, 28, 121);
/* oklch */ color: oklch(41.9% 0.166 328.0);
Tailwind
colors: {
  custom: {
    50: '#a363a0',
    500: '#791c79',
    950: '#000000',
  },
}
SCSS
$custom: #791c79;
$custom-light: #a363a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791c79",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.16571,
    "h": 328
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#791C79
secondary
#44AD44
accent
#E54242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #791C79

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

Preview Lab → · Contrast checker → · Palette generator →

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