#791F83#791F83

#791F83 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.171 H 323.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#791F83
RGBrgb(121, 31, 131)
HSLhsl(294, 62%, 32%)
HSVhsv(294, 76%, 51%)
CMYKcmyk(7.6%, 76.3%, 0%, 48.6%)
CIE-LABlab(31.08, 51.16, -36.37)
CIE-LCHlch(31.08, 62.77, 324.59°)
OKLaboklab(42.83% 0.1374 -0.1015)
OKLCHoklch(42.83% 0.171 323.5)
XYZxyz(12.4715, 6.6844, 22.1016)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F83 #29831F
analogous
#471F83 #791F83 #831F5B
triadic
#791F83 #83791F #1F8379
tetradic
#791F83 #83471F #29831F #1F5B83
square
#791F83 #83471F #29831F #1F5B83
split-complementary
#791F83 #5B831F #1F8347
monochromatic
#1E0820 #4B1352 #791F83 #A72BB4 #C649D4

Accessibility & contrast

On white

8.99
#791F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#791F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F83
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F83#FFFFFF#000000##FFFFFF
##791F831.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7B3150
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791f83;
/* rgb */ color: rgb(121, 31, 131);
/* oklch */ color: oklch(42.8% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#a365a7',
    500: '#791f83',
    950: '#000000',
  },
}
SCSS
$custom: #791f83;
$custom-light: #a365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#791f83",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 294,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.17079,
    "h": 323.5
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#791F83
secondary
#53B648
accent
#E54353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #791F83

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

Preview Lab → · Contrast checker → · Palette generator →

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