#792A71#792A71

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

Color values

HEX#792A71
RGBrgb(121, 42, 113)
HSLhsl(306, 48%, 32%)
HSVhsv(306, 65%, 47%)
CMYKcmyk(0%, 65.3%, 6.6%, 52.5%)
CIE-LABlab(31.61, 43.46, -24.19)
CIE-LCHlch(31.61, 49.74, 330.90°)
OKLaboklab(42.88% 0.1244 -0.0663)
OKLCHoklch(42.88% 0.141 331.9)
XYZxyz(11.6937, 6.9140, 16.3382)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A71 #2A7932
analogous
#5A2A79 #792A71 #792A4A
triadic
#792A71 #71792A #2A7179
tetradic
#792A71 #795A2A #2A7932 #2A4A79
square
#792A71 #795A2A #2A7932 #2A4A79
split-complementary
#792A71 #4A792A #2A795A
monochromatic
#1E0A1C #4C1A47 #792A71 #A63A9B #C558BA

Accessibility & contrast

On white

8.81
#792A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A71
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A71#FFFFFF#000000##FFFFFF
##792A711.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#7E3149
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792a71;
/* rgb */ color: rgb(121, 42, 113);
/* oklch */ color: oklch(42.9% 0.141 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26a9a',
    500: '#792a71',
    950: '#000000',
  },
}
SCSS
$custom: #792a71;
$custom-light: #a26a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792a71",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 306.076,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.14093,
    "h": 331.9
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#792A71
secondary
#54AB5D
accent
#D85E50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792A71

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

Preview Lab → · Contrast checker → · Palette generator →

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