#792C79#792C79

#792C79 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.145 H 327.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#792C79
RGBrgb(121, 44, 121)
HSLhsl(300, 47%, 32%)
HSVhsv(300, 64%, 47%)
CMYKcmyk(0%, 63.6%, 0%, 52.5%)
CIE-LABlab(32.36, 44.01, -28.06)
CIE-LCHlch(32.36, 52.19, 327.48°)
OKLaboklab(43.56% 0.1226 -0.0774)
OKLCHoklch(43.56% 0.145 327.7)
XYZxyz(12.2369, 7.2476, 18.8398)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C79 #2C792C
analogous
#532C79 #792C79 #792C53
triadic
#792C79 #79792C #2C7979
tetradic
#792C79 #79532C #2C792C #2C5379
square
#792C79 #79532C #2C792C #2C5379
split-complementary
#792C79 #53792C #2C7953
monochromatic
#1F0B1F #4C1C4C #792C79 #A63CA6 #C45CC4

Accessibility & contrast

On white

8.57
#792C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C79
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C79#FFFFFF#000000##FFFFFF
##792C791.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#7D364E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792c79;
/* rgb */ color: rgb(121, 44, 121);
/* oklch */ color: oklch(43.6% 0.145 327.7);
Tailwind
colors: {
  custom: {
    50: '#a26ba0',
    500: '#792c79',
    950: '#000000',
  },
}
SCSS
$custom: #792c79;
$custom-light: #a26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#792c79",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43562,
    "c": 0.14499,
    "h": 327.7
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#792C79
secondary
#57AA57
accent
#D65151
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792C79

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

Preview Lab → · Contrast checker → · Palette generator →

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