#791B6A#791B6A

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

Color values

HEX#791B6A
RGBrgb(121, 27, 106)
HSLhsl(310, 64%, 29%)
HSVhsv(310, 78%, 47%)
CMYKcmyk(0%, 77.7%, 12.4%, 52.5%)
CIE-LABlab(29.13, 48.22, -23.60)
CIE-LCHlch(29.13, 53.68, 333.92°)
OKLaboklab(40.96% 0.141 -0.0644)
OKLCHoklch(40.96% 0.155 335.4)
XYZxyz(10.8788, 5.8904, 14.1969)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B6A #1B792A
analogous
#591B79 #791B6A #791B3B
triadic
#791B6A #6A791B #1B6A79
tetradic
#791B6A #79591B #1B792A #1B3B79
square
#791B6A #79591B #1B792A #1B3B79
split-complementary
#791B6A #3B791B #1B7959
monochromatic
#190616 #47103E #791B6A #AB2696 #D33BBB

Accessibility & contrast

On white

9.64
#791B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B6A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B6A#FFFFFF#000000##FFFFFF
##791B6A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791b6a;
/* rgb */ color: rgb(121, 27, 106);
/* oklch */ color: oklch(41.0% 0.155 335.4);
Tailwind
colors: {
  custom: {
    50: '#a36295',
    500: '#791b6a',
    950: '#000000',
  },
}
SCSS
$custom: #791b6a;
$custom-light: #a36295;
$custom-dark: #000000;
JSON
{
  "hex": "#791b6a",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 309.574,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.15505,
    "h": 335.4
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#791B6A
secondary
#43AD54
accent
#E75C41
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #791B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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