#792C72#792C72

#792C72 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.139 H 331.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#792C72
RGBrgb(121, 44, 114)
HSLhsl(305, 47%, 32%)
HSVhsv(305, 64%, 47%)
CMYKcmyk(0%, 63.6%, 5.8%, 52.5%)
CIE-LABlab(31.99, 42.73, -24.23)
CIE-LCHlch(31.99, 49.12, 330.45°)
OKLaboklab(43.17% 0.1219 -0.0664)
OKLCHoklch(43.17% 0.139 331.4)
XYZxyz(11.8231, 7.0821, 16.6606)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C72 #2C7933
analogous
#5A2C79 #792C72 #792C4B
triadic
#792C72 #72792C #2C7279
tetradic
#792C72 #795A2C #2C7933 #2C4B79
square
#792C72 #795A2C #2C7933 #2C4B79
split-complementary
#792C72 #4B792C #2C795A
monochromatic
#1F0B1D #4C1C48 #792C72 #A63C9C #C45CBA

Accessibility & contrast

On white

8.69
#792C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C72
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C72#FFFFFF#000000##FFFFFF
##792C721.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7E334B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792c72;
/* rgb */ color: rgb(121, 44, 114);
/* oklch */ color: oklch(43.2% 0.139 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26b9b',
    500: '#792c72',
    950: '#000000',
  },
}
SCSS
$custom: #792c72;
$custom-light: #a26b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792c72",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 305.455,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.13878,
    "h": 331.4
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#792C72
secondary
#57AA5F
accent
#D65E51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792C72

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

Preview Lab → · Contrast checker → · Palette generator →

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