#791A71#791A71

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

Color values

HEX#791A71
RGBrgb(121, 26, 113)
HSLhsl(305, 65%, 29%)
HSVhsv(305, 79%, 47%)
CMYKcmyk(0%, 78.5%, 6.6%, 52.5%)
CIE-LABlab(29.40, 49.68, -27.66)
CIE-LCHlch(29.40, 56.86, 330.89°)
OKLaboklab(41.28% 0.1424 -0.0761)
OKLCHoklch(41.28% 0.161 331.9)
XYZxyz(11.2352, 5.9969, 16.1854)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A71 #1A7922
analogous
#521A79 #791A71 #791A42
triadic
#791A71 #71791A #1A7179
tetradic
#791A71 #79521A #1A7922 #1A4279
square
#791A71 #79521A #1A7922 #1A4279
split-complementary
#791A71 #42791A #1A7952
monochromatic
#190518 #470F42 #791A71 #AB25A0 #D439C7

Accessibility & contrast

On white

9.55
#791A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A71
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A71#FFFFFF#000000##FFFFFF
##791A711.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#7E2644
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791a71;
/* rgb */ color: rgb(121, 26, 113);
/* oklch */ color: oklch(41.3% 0.161 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3629a',
    500: '#791a71',
    950: '#000000',
  },
}
SCSS
$custom: #791a71;
$custom-light: #a3629a;
$custom-dark: #000000;
JSON
{
  "hex": "#791a71",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 305.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.16148,
    "h": 331.9
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#791A71
secondary
#41AD4A
accent
#E84E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791A71

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

Preview Lab → · Contrast checker → · Palette generator →

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