#792D74#792D74

#792D74 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.139 H 330.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#792D74
RGBrgb(121, 45, 116)
HSLhsl(304, 46%, 33%)
HSVhsv(304, 63%, 47%)
CMYKcmyk(0%, 62.8%, 4.1%, 52.5%)
CIE-LABlab(32.27, 42.62, -25.06)
CIE-LCHlch(32.27, 49.45, 329.54°)
OKLaboklab(43.4% 0.1208 -0.0688)
OKLCHoklch(43.4% 0.139 330.3)
XYZxyz(11.9759, 7.2035, 17.2793)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D74 #2D7932
analogous
#582D79 #792D74 #792D4E
triadic
#792D74 #74792D #2D7479
tetradic
#792D74 #79582D #2D7932 #2D4E79
square
#792D74 #79582D #2D7932 #2D4E79
split-complementary
#792D74 #4E792D #2D7958
monochromatic
#200C1E #4C1C49 #792D74 #A63E9F #C35DBC

Accessibility & contrast

On white

8.60
#792D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D74
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D74#FFFFFF#000000##FFFFFF
##792D741.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#415072
Tritanopia (blue-blind)
#7D354C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d74;
/* rgb */ color: rgb(121, 45, 116);
/* oklch */ color: oklch(43.4% 0.139 330.3);
Tailwind
colors: {
  custom: {
    50: '#a26b9c',
    500: '#792d74',
    950: '#000000',
  },
}
SCSS
$custom: #792d74;
$custom-light: #a26b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#792d74",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 303.947,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.13899,
    "h": 330.3
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#792D74
secondary
#58A95E
accent
#D55B52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D74

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

Preview Lab → · Contrast checker → · Palette generator →

#792D74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva