#791D6B#791D6B

#791D6B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.154 H 335.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#791D6B
RGBrgb(121, 29, 107)
HSLhsl(309, 61%, 29%)
HSVhsv(309, 76%, 47%)
CMYKcmyk(0%, 76%, 11.6%, 52.5%)
CIE-LABlab(29.43, 47.69, -23.78)
CIE-LCHlch(29.43, 53.29, 333.50°)
OKLaboklab(41.19% 0.1391 -0.065)
OKLCHoklch(41.19% 0.154 335)
XYZxyz(10.9785, 6.0062, 14.4882)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D6B #1D792B
analogous
#591D79 #791D6B #791D3D
triadic
#791D6B #6B791D #1D6B79
tetradic
#791D6B #79591D #1D792B #1D3D79
square
#791D6B #79591D #1D792B #1D3D79
split-complementary
#791D6B #3D791D #1D7959
monochromatic
#190616 #48113F #791D6B #AA2997 #D13FBB

Accessibility & contrast

On white

9.54
#791D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D6B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D6B#FFFFFF#000000##FFFFFF
##791D6B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7F2542
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791d6b;
/* rgb */ color: rgb(121, 29, 107);
/* oklch */ color: oklch(41.2% 0.154 335.0);
Tailwind
colors: {
  custom: {
    50: '#a36395',
    500: '#791d6b',
    950: '#000000',
  },
}
SCSS
$custom: #791d6b;
$custom-light: #a36395;
$custom-dark: #000000;
JSON
{
  "hex": "#791d6b",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 309.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.15352,
    "h": 335
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#791D6B
secondary
#45AD55
accent
#E45C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #791D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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