#792A76#792A76

#792A76 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.145 H 329.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#792A76
RGBrgb(121, 42, 118)
HSLhsl(302, 48%, 32%)
HSVhsv(302, 65%, 47%)
CMYKcmyk(0%, 65.3%, 2.5%, 52.5%)
CIE-LABlab(31.87, 44.36, -26.94)
CIE-LCHlch(31.87, 51.90, 328.73°)
OKLaboklab(43.15% 0.1249 -0.0742)
OKLCHoklch(43.15% 0.145 329.3)
XYZxyz(11.9830, 7.0297, 17.8617)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A76 #2A792D
analogous
#542A79 #792A76 #792A4F
triadic
#792A76 #76792A #2A7679
tetradic
#792A76 #79542A #2A792D #2A4F79
square
#792A76 #79542A #2A792D #2A4F79
split-complementary
#792A76 #4F792A #2A7954
monochromatic
#1E0A1D #4C1A4A #792A76 #A63AA2 #C558C1

Accessibility & contrast

On white

8.73
#792A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A76
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A76#FFFFFF#000000##FFFFFF
##792A761.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#3E4F74
Tritanopia (blue-blind)
#7D334C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792a76;
/* rgb */ color: rgb(121, 42, 118);
/* oklch */ color: oklch(43.2% 0.145 329.3);
Tailwind
colors: {
  custom: {
    50: '#a26a9e',
    500: '#792a76',
    950: '#000000',
  },
}
SCSS
$custom: #792a76;
$custom-light: #a26a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792a76",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 302.278,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.14527,
    "h": 329.3
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#792A76
secondary
#54AB57
accent
#D85550
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792A76

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

Preview Lab → · Contrast checker → · Palette generator →

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