#791B72#791B72

#791B72 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.161 H 331.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#791B72
RGBrgb(121, 27, 114)
HSLhsl(304, 64%, 29%)
HSVhsv(304, 78%, 47%)
CMYKcmyk(0%, 77.7%, 5.8%, 52.5%)
CIE-LABlab(29.57, 49.52, -28.03)
CIE-LCHlch(29.57, 56.90, 330.49°)
OKLaboklab(41.42% 0.1415 -0.0772)
OKLCHoklch(41.42% 0.161 331.4)
XYZxyz(11.3144, 6.0646, 16.4910)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B72 #1B7922
analogous
#511B79 #791B72 #791B43
triadic
#791B72 #72791B #1B7279
tetradic
#791B72 #79511B #1B7922 #1B4379
square
#791B72 #79511B #1B7922 #1B4379
split-complementary
#791B72 #43791B #1B7951
monochromatic
#190618 #471043 #791B72 #AB26A1 #D33BC8

Accessibility & contrast

On white

9.49
#791B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B72
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B72#FFFFFF#000000##FFFFFF
##791B721.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#7E2745
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791b72;
/* rgb */ color: rgb(121, 27, 114);
/* oklch */ color: oklch(41.4% 0.161 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3639b',
    500: '#791b72',
    950: '#000000',
  },
}
SCSS
$custom: #791b72;
$custom-light: #a3639b;
$custom-dark: #000000;
JSON
{
  "hex": "#791b72",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 304.468,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.16118,
    "h": 331.4
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#791B72
secondary
#43AD4B
accent
#E74E41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791B72

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

Preview Lab → · Contrast checker → · Palette generator →

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