#791A85#791A85

#791A85 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.178 H 322.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#791A85
RGBrgb(121, 26, 133)
HSLhsl(293, 67%, 31%)
HSVhsv(293, 80%, 52%)
CMYKcmyk(9%, 80.5%, 0%, 47.8%)
CIE-LABlab(30.64, 53.17, -38.33)
CIE-LCHlch(30.64, 65.55, 324.21°)
OKLaboklab(42.55% 0.1417 -0.1072)
OKLCHoklch(42.55% 0.178 322.9)
XYZxyz(12.4878, 6.4980, 22.7822)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A85 #26851A
analogous
#431A85 #791A85 #851A5B
triadic
#791A85 #85791A #1A8579
tetradic
#791A85 #85431A #26851A #1A5B85
square
#791A85 #85431A #26851A #1A5B85
split-complementary
#791A85 #5B851A #1A8543
monochromatic
#1C061F #4A1052 #791A85 #A824B8 #C840DA

Accessibility & contrast

On white

9.13
#791A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#791A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A85
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A85#FFFFFF#000000##FFFFFF
##791A851.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#7B3050
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791a85;
/* rgb */ color: rgb(121, 26, 133);
/* oklch */ color: oklch(42.6% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#a363a9',
    500: '#791a85',
    950: '#000000',
  },
}
SCSS
$custom: #791a85;
$custom-light: #a363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791a85",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 293.271,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.17765,
    "h": 322.9
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#791A85
secondary
#50B842
accent
#EA3E51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791A85

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

Preview Lab → · Contrast checker → · Palette generator →

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