#792A72#792A72

#792A72 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 331.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#792A72
RGBrgb(121, 42, 114)
HSLhsl(305, 48%, 32%)
HSVhsv(305, 65%, 47%)
CMYKcmyk(0%, 65.3%, 5.8%, 52.5%)
CIE-LABlab(31.66, 43.64, -24.74)
CIE-LCHlch(31.66, 50.17, 330.45°)
OKLaboklab(42.93% 0.1245 -0.0679)
OKLCHoklch(42.93% 0.142 331.4)
XYZxyz(11.7504, 6.9366, 16.6363)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A72 #2A7931
analogous
#582A79 #792A72 #792A4B
triadic
#792A72 #72792A #2A7279
tetradic
#792A72 #79582A #2A7931 #2A4B79
square
#792A72 #79582A #2A7931 #2A4B79
split-complementary
#792A72 #4B792A #2A7958
monochromatic
#1E0A1C #4C1A47 #792A72 #A63A9D #C558BB

Accessibility & contrast

On white

8.80
#792A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792A72
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A72#FFFFFF#000000##FFFFFF
##792A721.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#7E324A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792a72;
/* rgb */ color: rgb(121, 42, 114);
/* oklch */ color: oklch(42.9% 0.142 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26a9b',
    500: '#792a72',
    950: '#000000',
  },
}
SCSS
$custom: #792a72;
$custom-light: #a26a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792a72",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 305.316,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.14179,
    "h": 331.4
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#792A72
secondary
#54AB5C
accent
#D85C50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792A72

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

Preview Lab → · Contrast checker → · Palette generator →

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