#791F6E#791F6E

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

Color values

HEX#791F6E
RGBrgb(121, 31, 110)
HSLhsl(307, 59%, 30%)
HSVhsv(307, 74%, 47%)
CMYKcmyk(0%, 74.4%, 9.1%, 52.5%)
CIE-LABlab(29.84, 47.46, -25.06)
CIE-LCHlch(29.84, 53.67, 332.17°)
OKLaboklab(41.54% 0.1372 -0.0687)
OKLCHoklch(41.54% 0.153 333.4)
XYZxyz(11.1897, 6.1716, 15.3507)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F6E #1F792A
analogous
#571F79 #791F6E #791F41
triadic
#791F6E #6E791F #1F6E79
tetradic
#791F6E #79571F #1F792A #1F4179
square
#791F6E #79571F #1F792A #1F4179
split-complementary
#791F6E #41791F #1F7957
monochromatic
#180616 #481342 #791F6E #AA2B9A #CF43BE

Accessibility & contrast

On white

9.40
#791F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F6E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F6E#FFFFFF#000000##FFFFFF
##791F6E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#7F2844
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791f6e;
/* rgb */ color: rgb(121, 31, 110);
/* oklch */ color: oklch(41.5% 0.153 333.4);
Tailwind
colors: {
  custom: {
    50: '#a36498',
    500: '#791f6e',
    950: '#000000',
  },
}
SCSS
$custom: #791f6e;
$custom-light: #a36498;
$custom-dark: #000000;
JSON
{
  "hex": "#791f6e",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 307.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.15343,
    "h": 333.4
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#791F6E
secondary
#47AC54
accent
#E25945
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #791F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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