#791F74#791F74

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

Color values

HEX#791F74
RGBrgb(121, 31, 116)
HSLhsl(303, 59%, 30%)
HSVhsv(303, 74%, 47%)
CMYKcmyk(0%, 74.4%, 4.1%, 52.5%)
CIE-LABlab(30.17, 48.47, -28.36)
CIE-LCHlch(30.17, 56.16, 329.67°)
OKLaboklab(41.89% 0.1376 -0.0782)
OKLCHoklch(41.89% 0.158 330.4)
XYZxyz(11.5275, 6.3068, 17.1298)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F74 #1F7924
analogous
#511F79 #791F74 #791F47
triadic
#791F74 #74791F #1F7479
tetradic
#791F74 #79511F #1F7924 #1F4779
square
#791F74 #79511F #1F7924 #1F4779
split-complementary
#791F74 #47791F #1F7951
monochromatic
#180617 #481345 #791F74 #AA2BA3 #CF43C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791F74#FFFFFF#000000##FFFFFF
##791F741.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)
#163F76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#7E2A47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791f74;
/* rgb */ color: rgb(121, 31, 116);
/* oklch */ color: oklch(41.9% 0.158 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3649c',
    500: '#791f74',
    950: '#000000',
  },
}
SCSS
$custom: #791f74;
$custom-light: #a3649c;
$custom-dark: #000000;
JSON
{
  "hex": "#791f74",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 303.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.15823,
    "h": 330.4
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#791F74
secondary
#47AC4D
accent
#E24E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791F74

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

Preview Lab → · Contrast checker → · Palette generator →

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