#791A72#791A72

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

Color values

HEX#791A72
RGBrgb(121, 26, 114)
HSLhsl(304, 65%, 29%)
HSVhsv(304, 79%, 47%)
CMYKcmyk(0%, 78.5%, 5.8%, 52.5%)
CIE-LABlab(29.46, 49.84, -28.21)
CIE-LCHlch(29.46, 57.27, 330.49°)
OKLaboklab(41.34% 0.1424 -0.0777)
OKLCHoklch(41.34% 0.162 331.4)
XYZxyz(11.2918, 6.0196, 16.4835)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A72 #1A7921
analogous
#511A79 #791A72 #791A43
triadic
#791A72 #72791A #1A7279
tetradic
#791A72 #79511A #1A7921 #1A4379
square
#791A72 #79511A #1A7921 #1A4379
split-complementary
#791A72 #43791A #1A7951
monochromatic
#190518 #470F43 #791A72 #AB25A1 #D439C9

Accessibility & contrast

On white

9.53
#791A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A72
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A72#FFFFFF#000000##FFFFFF
##791A721.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#7E2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791a72;
/* rgb */ color: rgb(121, 26, 114);
/* oklch */ color: oklch(41.3% 0.162 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3629b',
    500: '#791a72',
    950: '#000000',
  },
}
SCSS
$custom: #791a72;
$custom-light: #a3629b;
$custom-dark: #000000;
JSON
{
  "hex": "#791a72",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 304.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.16225,
    "h": 331.4
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#791A72
secondary
#41AD49
accent
#E84D40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791A72

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

Preview Lab → · Contrast checker → · Palette generator →

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