#791E71#791E71

#791E71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.157 H 331.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#791E71
RGBrgb(121, 30, 113)
HSLhsl(305, 60%, 30%)
HSVhsv(305, 75%, 47%)
CMYKcmyk(0%, 75.2%, 6.6%, 52.5%)
CIE-LABlab(29.88, 48.32, -26.91)
CIE-LCHlch(29.88, 55.31, 330.88°)
OKLaboklab(41.62% 0.1385 -0.074)
OKLCHoklch(41.62% 0.157 331.9)
XYZxyz(11.3301, 6.1867, 16.2170)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E71 #1E7926
analogous
#541E79 #791E71 #791E43
triadic
#791E71 #71791E #1E7179
tetradic
#791E71 #79541E #1E7926 #1E4379
square
#791E71 #79541E #1E7926 #1E4379
split-complementary
#791E71 #43791E #1E7954
monochromatic
#190617 #481243 #791E71 #AA2A9F #D041C3

Accessibility & contrast

On white

9.39
#791E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E71
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E71#FFFFFF#000000##FFFFFF
##791E711.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7E2845
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791e71;
/* rgb */ color: rgb(121, 30, 113);
/* oklch */ color: oklch(41.6% 0.157 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3649a',
    500: '#791e71',
    950: '#000000',
  },
}
SCSS
$custom: #791e71;
$custom-light: #a3649a;
$custom-dark: #000000;
JSON
{
  "hex": "#791e71",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 305.275,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.157,
    "h": 331.9
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#791E71
secondary
#46AD4F
accent
#E35244
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E71

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

Preview Lab → · Contrast checker → · Palette generator →

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