#791A80#791A80

#791A80 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.173 H 325.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#791A80
RGBrgb(121, 26, 128)
HSLhsl(296, 66%, 30%)
HSVhsv(296, 80%, 50%)
CMYKcmyk(5.5%, 79.7%, 0%, 49.8%)
CIE-LABlab(30.31, 52.26, -35.72)
CIE-LCHlch(30.31, 63.30, 325.65°)
OKLaboklab(42.22% 0.1421 -0.0996)
OKLCHoklch(42.22% 0.174 325)
XYZxyz(12.1505, 6.3631, 21.0061)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A80 #21801A
analogous
#461A80 #791A80 #801A54
triadic
#791A80 #80791A #1A8079
tetradic
#791A80 #80461A #21801A #1A5480
square
#791A80 #80461A #21801A #1A5480
split-complementary
#791A80 #54801A #1A8046
monochromatic
#19051A #49104D #791A80 #A924B3 #CD3DD8

Accessibility & contrast

On white

9.24
#791A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#791A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A80
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A80#FFFFFF#000000##FFFFFF
##791A801.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#7C2D4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791a80;
/* rgb */ color: rgb(121, 26, 128);
/* oklch */ color: oklch(42.2% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#a363a5',
    500: '#791a80',
    950: '#000000',
  },
}
SCSS
$custom: #791a80;
$custom-light: #a363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791a80",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 295.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.1735,
    "h": 325
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#791A80
secondary
#4AB442
accent
#E93F4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791A80

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

Preview Lab → · Contrast checker → · Palette generator →

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