#791F91#791F91

#791F91 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.183 H 318.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#791F91
RGBrgb(121, 31, 145)
HSLhsl(287, 65%, 35%)
HSVhsv(287, 79%, 57%)
CMYKcmyk(16.6%, 78.6%, 0%, 43.1%)
CIE-LABlab(32.01, 53.84, -43.55)
CIE-LCHlch(32.01, 69.25, 321.03°)
OKLaboklab(43.79% 0.1359 -0.1225)
OKLCHoklch(43.79% 0.183 318)
XYZxyz(13.4853, 7.0899, 27.4407)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F91 #37911F
analogous
#401F91 #791F91 #911F70
triadic
#791F91 #91791F #1F9179
tetradic
#791F91 #91401F #37911F #1F7091
square
#791F91 #91401F #37911F #1F7091
split-complementary
#791F91 #70911F #1F9140
monochromatic
#25092C #4F145F #791F91 #A32AC3 #BD51DA

Accessibility & contrast

On white

8.69
#791F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#791F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F91
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F91#FFFFFF#000000##FFFFFF
##791F911.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791f91;
/* rgb */ color: rgb(121, 31, 145);
/* oklch */ color: oklch(43.8% 0.183 318.0);
Tailwind
colors: {
  custom: {
    50: '#a466b2',
    500: '#791f91',
    950: '#000000',
  },
}
SCSS
$custom: #791f91;
$custom-light: #a466b2;
$custom-dark: #000000;
JSON
{
  "hex": "#791f91",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 287.368,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.183,
    "h": 318
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#791F91
secondary
#66BD4F
accent
#E84063
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F91

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

Preview Lab → · Contrast checker → · Palette generator →

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