#791B6B#791B6B

#791B6B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 334.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#791B6B
RGBrgb(121, 27, 107)
HSLhsl(309, 64%, 29%)
HSVhsv(309, 78%, 47%)
CMYKcmyk(0%, 77.7%, 11.6%, 52.5%)
CIE-LABlab(29.19, 48.38, -24.16)
CIE-LCHlch(29.19, 54.08, 333.46°)
OKLaboklab(41.02% 0.1411 -0.0661)
OKLCHoklch(41.02% 0.156 334.9)
XYZxyz(10.9311, 5.9113, 14.4724)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B6B #1B7929
analogous
#581B79 #791B6B #791B3C
triadic
#791B6B #6B791B #1B6B79
tetradic
#791B6B #79581B #1B7929 #1B3C79
square
#791B6B #79581B #1B7929 #1B3C79
split-complementary
#791B6B #3C791B #1B7958
monochromatic
#190616 #47103F #791B6B #AB2697 #D33BBD

Accessibility & contrast

On white

9.62
#791B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#791B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B6B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B6B#FFFFFF#000000##FFFFFF
##791B6B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791b6b;
/* rgb */ color: rgb(121, 27, 107);
/* oklch */ color: oklch(41.0% 0.156 334.9);
Tailwind
colors: {
  custom: {
    50: '#a36295',
    500: '#791b6b',
    950: '#000000',
  },
}
SCSS
$custom: #791b6b;
$custom-light: #a36295;
$custom-dark: #000000;
JSON
{
  "hex": "#791b6b",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 308.936,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.1558,
    "h": 334.9
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#791B6B
secondary
#43AD52
accent
#E75A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #791B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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