#791A83#791A83

#791A83 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.176 H 323.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#791A83
RGBrgb(121, 26, 131)
HSLhsl(294, 67%, 31%)
HSVhsv(294, 80%, 51%)
CMYKcmyk(7.6%, 80.2%, 0%, 48.6%)
CIE-LABlab(30.50, 52.81, -37.29)
CIE-LCHlch(30.50, 64.64, 324.77°)
OKLaboklab(42.42% 0.1419 -0.1041)
OKLCHoklch(42.42% 0.176 323.7)
XYZxyz(12.3509, 6.4432, 22.0615)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A83 #24831A
analogous
#441A83 #791A83 #831A58
triadic
#791A83 #83791A #1A8379
tetradic
#791A83 #83441A #24831A #1A5883
square
#791A83 #83441A #24831A #1A5883
split-complementary
#791A83 #58831A #1A8344
monochromatic
#1B061D #4A1050 #791A83 #A824B6 #CA3FD9

Accessibility & contrast

On white

9.18
#791A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#791A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A83
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A83#FFFFFF#000000##FFFFFF
##791A831.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#2E4B81
Tritanopia (blue-blind)
#7B2F4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791a83;
/* rgb */ color: rgb(121, 26, 131);
/* oklch */ color: oklch(42.4% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a363a7',
    500: '#791a83',
    950: '#000000',
  },
}
SCSS
$custom: #791a83;
$custom-light: #a363a7;
$custom-dark: #000000;
JSON
{
  "hex": "#791a83",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 294.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.17599,
    "h": 323.7
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#791A83
secondary
#4DB742
accent
#EA3E4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791A83

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

Preview Lab → · Contrast checker → · Palette generator →

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