#791E6F#791E6F

#791E6F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.155 H 332.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#791E6F
RGBrgb(121, 30, 111)
HSLhsl(307, 60%, 30%)
HSVhsv(307, 75%, 47%)
CMYKcmyk(0%, 75.2%, 8.3%, 52.5%)
CIE-LABlab(29.77, 47.99, -25.81)
CIE-LCHlch(29.77, 54.49, 331.73°)
OKLaboklab(41.51% 0.1384 -0.0708)
OKLCHoklch(41.51% 0.155 332.9)
XYZxyz(11.2187, 6.1421, 15.6305)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E6F #1E7928
analogous
#551E79 #791E6F #791E42
triadic
#791E6F #6F791E #1E6F79
tetradic
#791E6F #79551E #1E7928 #1E4279
square
#791E6F #79551E #1E7928 #1E4279
split-complementary
#791E6F #42791E #1E7955
monochromatic
#190616 #481242 #791E6F #AA2A9C #D041C0

Accessibility & contrast

On white

9.42
#791E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791E6F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E6F#FFFFFF#000000##FFFFFF
##791E6F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#7F2744
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791e6f;
/* rgb */ color: rgb(121, 30, 111);
/* oklch */ color: oklch(41.5% 0.155 332.9);
Tailwind
colors: {
  custom: {
    50: '#a36498',
    500: '#791e6f',
    950: '#000000',
  },
}
SCSS
$custom: #791e6f;
$custom-light: #a36498;
$custom-dark: #000000;
JSON
{
  "hex": "#791e6f",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 306.593,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.15543,
    "h": 332.9
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#791E6F
secondary
#46AD51
accent
#E35644
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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