#791E7E#791E7E

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

Color values

HEX#791E7E
RGBrgb(121, 30, 126)
HSLhsl(297, 62%, 31%)
HSVhsv(297, 76%, 49%)
CMYKcmyk(4%, 76.2%, 0%, 50.6%)
CIE-LABlab(30.64, 50.59, -33.93)
CIE-LCHlch(30.64, 60.92, 326.15°)
OKLaboklab(42.42% 0.1386 -0.0944)
OKLCHoklch(42.42% 0.168 325.7)
XYZxyz(12.1151, 6.5007, 20.3513)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E7E #237E1E
analogous
#491E7E #791E7E #7E1E53
triadic
#791E7E #7E791E #1E7E79
tetradic
#791E7E #7E491E #237E1E #1E537E
square
#791E7E #7E491E #237E1E #1E537E
split-complementary
#791E7E #537E1E #1E7E49
monochromatic
#1A061B #4A124D #791E7E #A82AAF #CB44D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791E7E#FFFFFF#000000##FFFFFF
##791E7E1.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)
#004181
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#7C2F4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791e7e;
/* rgb */ color: rgb(121, 30, 126);
/* oklch */ color: oklch(42.4% 0.168 325.7);
Tailwind
colors: {
  custom: {
    50: '#a364a4',
    500: '#791e7e',
    950: '#000000',
  },
}
SCSS
$custom: #791e7e;
$custom-light: #a364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#791e7e",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 296.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.16766,
    "h": 325.7
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#791E7E
secondary
#4CB147
accent
#E5434C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #791E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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