#791F89#791F89

#791F89 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.176 H 321.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#791F89
RGBrgb(121, 31, 137)
HSLhsl(291, 63%, 33%)
HSVhsv(291, 77%, 54%)
CMYKcmyk(11.7%, 77.4%, 0%, 46.3%)
CIE-LABlab(31.47, 52.29, -39.48)
CIE-LCHlch(31.47, 65.52, 322.94°)
OKLaboklab(43.23% 0.1369 -0.1106)
OKLCHoklch(43.23% 0.176 321.1)
XYZxyz(12.8900, 6.8518, 24.3056)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F89 #2F891F
analogous
#441F89 #791F89 #891F64
triadic
#791F89 #89791F #1F8979
tetradic
#791F89 #89441F #2F891F #1F6489
square
#791F89 #89441F #2F891F #1F6489
split-complementary
#791F89 #64891F #1F8944
monochromatic
#210825 #4D1457 #791F89 #A52ABB #C24CD6

Accessibility & contrast

On white

8.86
#791F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#791F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F89
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F89#FFFFFF#000000##FFFFFF
##791F891.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#7A3453
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791f89;
/* rgb */ color: rgb(121, 31, 137);
/* oklch */ color: oklch(43.2% 0.176 321.1);
Tailwind
colors: {
  custom: {
    50: '#a365ac',
    500: '#791f89',
    950: '#000000',
  },
}
SCSS
$custom: #791f89;
$custom-light: #a365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791f89",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 290.943,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.17597,
    "h": 321.1
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#791F89
secondary
#5BB94B
accent
#E6425A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791F89

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

Preview Lab → · Contrast checker → · Palette generator →

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