#791F79#791F79

#791F79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.162 H 328.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#791F79
RGBrgb(121, 31, 121)
HSLhsl(300, 59%, 30%)
HSVhsv(300, 74%, 47%)
CMYKcmyk(0%, 74.4%, 0%, 52.5%)
CIE-LABlab(30.46, 49.34, -31.07)
CIE-LCHlch(30.46, 58.31, 327.80°)
OKLaboklab(42.19% 0.1377 -0.086)
OKLCHoklch(42.19% 0.162 328)
XYZxyz(11.8262, 6.4262, 18.7030)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F79 #1F791F
analogous
#4C1F79 #791F79 #791F4C
triadic
#791F79 #79791F #1F7979
tetradic
#791F79 #794C1F #1F791F #1F4C79
square
#791F79 #794C1F #1F791F #1F4C79
split-complementary
#791F79 #4C791F #1F794C
monochromatic
#180618 #481348 #791F79 #AA2BAA #CF43CF

Accessibility & contrast

On white

9.19
#791F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#791F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F79
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F79#FFFFFF#000000##FFFFFF
##791F791.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7D2D4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791f79;
/* rgb */ color: rgb(121, 31, 121);
/* oklch */ color: oklch(42.2% 0.162 328.0);
Tailwind
colors: {
  custom: {
    50: '#a365a0',
    500: '#791f79',
    950: '#000000',
  },
}
SCSS
$custom: #791f79;
$custom-light: #a365a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791f79",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.16233,
    "h": 328
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#791F79
secondary
#47AC47
accent
#E24545
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #791F79

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

Preview Lab → · Contrast checker → · Palette generator →

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