#792C6D#792C6D

#792C6D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.135 H 334.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#792C6D
RGBrgb(121, 44, 109)
HSLhsl(309, 47%, 32%)
HSVhsv(309, 64%, 47%)
CMYKcmyk(0%, 63.6%, 9.9%, 52.5%)
CIE-LABlab(31.74, 41.85, -21.44)
CIE-LCHlch(31.74, 47.02, 332.87°)
OKLaboklab(42.91% 0.1212 -0.0584)
OKLCHoklch(42.91% 0.135 334.2)
XYZxyz(11.5462, 6.9713, 15.2025)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C6D #2C7938
analogous
#5F2C79 #792C6D #792C46
triadic
#792C6D #6D792C #2C6D79
tetradic
#792C6D #795F2C #2C7938 #2C4679
square
#792C6D #795F2C #2C7938 #2C4679
split-complementary
#792C6D #46792C #2C795F
monochromatic
#1F0B1C #4C1C45 #792C6D #A63C95 #C45CB3

Accessibility & contrast

On white

8.77
#792C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C6D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C6D#FFFFFF#000000##FFFFFF
##792C6D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#7F3148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792c6d;
/* rgb */ color: rgb(121, 44, 109);
/* oklch */ color: oklch(42.9% 0.135 334.2);
Tailwind
colors: {
  custom: {
    50: '#a26b97',
    500: '#792c6d',
    950: '#000000',
  },
}
SCSS
$custom: #792c6d;
$custom-light: #a26b97;
$custom-dark: #000000;
JSON
{
  "hex": "#792c6d",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 309.351,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.13451,
    "h": 334.2
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#792C6D
secondary
#57AA64
accent
#D66651
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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