#791B71#791B71

#791B71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.160 H 331.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#791B71
RGBrgb(121, 27, 113)
HSLhsl(305, 64%, 29%)
HSVhsv(305, 78%, 47%)
CMYKcmyk(0%, 77.7%, 6.6%, 52.5%)
CIE-LABlab(29.52, 49.35, -27.48)
CIE-LCHlch(29.52, 56.49, 330.89°)
OKLaboklab(41.36% 0.1415 -0.0756)
OKLCHoklch(41.36% 0.16 331.9)
XYZxyz(11.2577, 6.0420, 16.1929)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B71 #1B7923
analogous
#521B79 #791B71 #791B42
triadic
#791B71 #71791B #1B7179
tetradic
#791B71 #79521B #1B7923 #1B4279
square
#791B71 #79521B #1B7923 #1B4279
split-complementary
#791B71 #42791B #1B7952
monochromatic
#190617 #471042 #791B71 #AB26A0 #D33BC6

Accessibility & contrast

On white

9.51
#791B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B71
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B71#FFFFFF#000000##FFFFFF
##791B711.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#7E2645
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791b71;
/* rgb */ color: rgb(121, 27, 113);
/* oklch */ color: oklch(41.4% 0.160 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3639a',
    500: '#791b71',
    950: '#000000',
  },
}
SCSS
$custom: #791b71;
$custom-light: #a3639a;
$custom-dark: #000000;
JSON
{
  "hex": "#791b71",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 305.106,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.1604,
    "h": 331.9
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#791B71
secondary
#43AD4C
accent
#E74F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791B71

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

Preview Lab → · Contrast checker → · Palette generator →

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