#791E76#791E76

#791E76 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.161 H 329.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#791E76
RGBrgb(121, 30, 118)
HSLhsl(302, 60%, 30%)
HSVhsv(302, 75%, 47%)
CMYKcmyk(0%, 75.2%, 2.5%, 52.5%)
CIE-LABlab(30.16, 49.17, -29.64)
CIE-LCHlch(30.16, 57.42, 328.92°)
OKLaboklab(41.92% 0.1386 -0.0819)
OKLCHoklch(41.92% 0.161 329.4)
XYZxyz(11.6194, 6.3024, 17.7405)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E76 #1E7921
analogous
#4F1E79 #791E76 #791E49
triadic
#791E76 #76791E #1E7679
tetradic
#791E76 #794F1E #1E7921 #1E4979
square
#791E76 #794F1E #1E7921 #1E4979
split-complementary
#791E76 #49791E #1E794F
monochromatic
#190618 #481246 #791E76 #AA2AA6 #D041CB

Accessibility & contrast

On white

9.29
#791E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#791E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E76
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E76#FFFFFF#000000##FFFFFF
##791E761.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#7D2B48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791e76;
/* rgb */ color: rgb(121, 30, 118);
/* oklch */ color: oklch(41.9% 0.161 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3649e',
    500: '#791e76',
    950: '#000000',
  },
}
SCSS
$custom: #791e76;
$custom-light: #a3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#791e76",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 301.978,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.16103,
    "h": 329.4
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#791E76
secondary
#46AD4A
accent
#E34A44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E76

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

Preview Lab → · Contrast checker → · Palette generator →

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