#792E71#792E71

#792E71 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.135 H 332.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#792E71
RGBrgb(121, 46, 113)
HSLhsl(306, 45%, 33%)
HSVhsv(306, 62%, 47%)
CMYKcmyk(0%, 62%, 6.6%, 52.5%)
CIE-LABlab(32.28, 41.61, -23.14)
CIE-LCHlch(32.28, 47.61, 330.92°)
OKLaboklab(43.37% 0.119 -0.0633)
OKLCHoklch(43.37% 0.135 332)
XYZxyz(11.8428, 7.2120, 16.3879)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E71 #2E7936
analogous
#5B2E79 #792E71 #792E4B
triadic
#792E71 #71792E #2E7179
tetradic
#792E71 #795B2E #2E7936 #2E4B79
square
#792E71 #795B2E #2E7936 #2E4B79
split-complementary
#792E71 #4B792E #2E795B
monochromatic
#200C1E #4D1D48 #792E71 #A53F9A #C25FB8

Accessibility & contrast

On white

8.60
#792E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E71
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E71#FFFFFF#000000##FFFFFF
##792E711.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#7E344B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792e71;
/* rgb */ color: rgb(121, 46, 113);
/* oklch */ color: oklch(43.4% 0.135 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26c9a',
    500: '#792e71',
    950: '#000000',
  },
}
SCSS
$custom: #792e71;
$custom-light: #a26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792e71",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 306.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43367,
    "c": 0.13479,
    "h": 332
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#792E71
secondary
#5AA962
accent
#D56153
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792E71

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

Preview Lab → · Contrast checker → · Palette generator →

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