#792D71#792D71

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

Color values

HEX#792D71
RGBrgb(121, 45, 113)
HSLhsl(306, 46%, 33%)
HSVhsv(306, 63%, 47%)
CMYKcmyk(0%, 62.8%, 6.6%, 52.5%)
CIE-LABlab(32.11, 42.08, -23.41)
CIE-LCHlch(32.11, 48.15, 330.92°)
OKLaboklab(43.24% 0.1204 -0.0641)
OKLCHoklch(43.24% 0.136 332)
XYZxyz(11.8042, 7.1348, 16.3750)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D71 #2D7935
analogous
#5B2D79 #792D71 #792D4B
triadic
#792D71 #71792D #2D7179
tetradic
#792D71 #795B2D #2D7935 #2D4B79
square
#792D71 #795B2D #2D7935 #2D4B79
split-complementary
#792D71 #4B792D #2D795B
monochromatic
#200C1E #4C1C47 #792D71 #A63E9B #C35DB8

Accessibility & contrast

On white

8.65
#792D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D71
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D71#FFFFFF#000000##FFFFFF
##792D711.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7E344A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d71;
/* rgb */ color: rgb(121, 45, 113);
/* oklch */ color: oklch(43.2% 0.136 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26b9a',
    500: '#792d71',
    950: '#000000',
  },
}
SCSS
$custom: #792d71;
$custom-light: #a26b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792d71",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 306.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.13636,
    "h": 332
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#792D71
secondary
#58A961
accent
#D56052
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D71

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

Preview Lab → · Contrast checker → · Palette generator →

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