#791D99#791D99

#791D99 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.192 H 315.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#791D99
RGBrgb(121, 29, 153)
HSLhsl(285, 68%, 36%)
HSVhsv(285, 81%, 60%)
CMYKcmyk(20.9%, 81%, 0%, 40%)
CIE-LABlab(32.36, 56.09, -47.90)
CIE-LCHlch(32.36, 73.76, 319.50°)
OKLaboklab(44.21% 0.1363 -0.1353)
OKLCHoklch(44.21% 0.192 315.2)
XYZxyz(14.0733, 7.2441, 30.7877)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D99 #3D991D
analogous
#3B1D99 #791D99 #991D7B
triadic
#791D99 #99791D #1D9979
tetradic
#791D99 #993B1D #3D991D #1D7B99
square
#791D99 #993B1D #3D991D #1D7B99
split-complementary
#791D99 #7B991D #1D993B
monochromatic
#280932 #501366 #791D99 #A227CC #BA52DE

Accessibility & contrast

On white

8.58
#791D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#791D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D99
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D99#FFFFFF#000000##FFFFFF
##791D991.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#763B5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791d99;
/* rgb */ color: rgb(121, 29, 153);
/* oklch */ color: oklch(44.2% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#a465b8',
    500: '#791d99',
    950: '#000000',
  },
}
SCSS
$custom: #791d99;
$custom-light: #a465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791d99",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 284.516,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.19199,
    "h": 315.2
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#791D99
secondary
#6EC151
accent
#EB3D6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791D99

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

Preview Lab → · Contrast checker → · Palette generator →

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