#791E91#791E91

#791E91 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.184 H 318.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#791E91
RGBrgb(121, 30, 145)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 79%, 57%)
CMYKcmyk(16.6%, 79.3%, 0%, 43.1%)
CIE-LABlab(31.89, 54.17, -43.74)
CIE-LCHlch(31.89, 69.63, 321.08°)
OKLaboklab(43.7% 0.1368 -0.1231)
OKLCHoklch(43.7% 0.184 318)
XYZxyz(13.4595, 7.0385, 27.4322)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E91 #36911E
analogous
#401E91 #791E91 #911E70
triadic
#791E91 #91791E #1E9179
tetradic
#791E91 #91401E #36911E #1E7091
square
#791E91 #91401E #36911E #1E7091
split-complementary
#791E91 #70911E #1E9140
monochromatic
#24092C #4F145E #791E91 #A328C4 #BD4FDB

Accessibility & contrast

On white

8.72
#791E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#791E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E91
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E91#FFFFFF#000000##FFFFFF
##791E911.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#234E8F
Tritanopia (blue-blind)
#783857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791e91;
/* rgb */ color: rgb(121, 30, 145);
/* oklch */ color: oklch(43.7% 0.184 318.0);
Tailwind
colors: {
  custom: {
    50: '#a465b2',
    500: '#791e91',
    950: '#000000',
  },
}
SCSS
$custom: #791e91;
$custom-light: #a465b2;
$custom-dark: #000000;
JSON
{
  "hex": "#791e91",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 287.478,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.184,
    "h": 318
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#791E91
secondary
#65BD4D
accent
#E93F63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E91

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

Preview Lab → · Contrast checker → · Palette generator →

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