#791F6D#791F6D

#791F6D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.153 H 333.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#791F6D
RGBrgb(121, 31, 109)
HSLhsl(308, 59%, 30%)
HSVhsv(308, 74%, 47%)
CMYKcmyk(0%, 74.4%, 9.9%, 52.5%)
CIE-LABlab(29.79, 47.30, -24.50)
CIE-LCHlch(29.79, 53.27, 332.62°)
OKLaboklab(41.49% 0.1371 -0.0671)
OKLCHoklch(41.49% 0.153 333.9)
XYZxyz(11.1356, 6.1500, 15.0656)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F6D #1F792B
analogous
#581F79 #791F6D #791F40
triadic
#791F6D #6D791F #1F6D79
tetradic
#791F6D #79581F #1F792B #1F4079
square
#791F6D #79581F #1F792B #1F4079
split-complementary
#791F6D #40791F #1F7958
monochromatic
#180616 #481341 #791F6D #AA2B99 #CF43BC

Accessibility & contrast

On white

9.42
#791F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F6D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F6D#FFFFFF#000000##FFFFFF
##791F6D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#3D4B6B
Tritanopia (blue-blind)
#7F2743
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791f6d;
/* rgb */ color: rgb(121, 31, 109);
/* oklch */ color: oklch(41.5% 0.153 333.9);
Tailwind
colors: {
  custom: {
    50: '#a36497',
    500: '#791f6d',
    950: '#000000',
  },
}
SCSS
$custom: #791f6d;
$custom-light: #a36497;
$custom-dark: #000000;
JSON
{
  "hex": "#791f6d",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 308,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.15265,
    "h": 333.9
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#791F6D
secondary
#47AC55
accent
#E25A45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #791F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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