#792C74#792C74

#792C74 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.141 H 330.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#792C74
RGBrgb(121, 44, 116)
HSLhsl(304, 47%, 32%)
HSVhsv(304, 64%, 47%)
CMYKcmyk(0%, 63.6%, 4.1%, 52.5%)
CIE-LABlab(32.10, 43.09, -25.33)
CIE-LCHlch(32.10, 49.98, 329.55°)
OKLaboklab(43.28% 0.1221 -0.0696)
OKLCHoklch(43.28% 0.141 330.3)
XYZxyz(11.9382, 7.1281, 17.2667)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C74 #2C7931
analogous
#582C79 #792C74 #792C4E
triadic
#792C74 #74792C #2C7479
tetradic
#792C74 #79582C #2C7931 #2C4E79
square
#792C74 #79582C #2C7931 #2C4E79
split-complementary
#792C74 #4E792C #2C7958
monochromatic
#1F0B1E #4C1C49 #792C74 #A63C9F #C45CBD

Accessibility & contrast

On white

8.66
#792C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C74
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C74#FFFFFF#000000##FFFFFF
##792C741.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#414F72
Tritanopia (blue-blind)
#7E344C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792c74;
/* rgb */ color: rgb(121, 44, 116);
/* oklch */ color: oklch(43.3% 0.141 330.3);
Tailwind
colors: {
  custom: {
    50: '#a26b9c',
    500: '#792c74',
    950: '#000000',
  },
}
SCSS
$custom: #792c74;
$custom-light: #a26b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#792c74",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 303.896,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.14052,
    "h": 330.3
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#792C74
secondary
#57AA5C
accent
#D65A51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792C74

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

Preview Lab → · Contrast checker → · Palette generator →

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