#792D79#792D79

#792D79 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.143 H 327.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#792D79
RGBrgb(121, 45, 121)
HSLhsl(300, 46%, 33%)
HSVhsv(300, 63%, 47%)
CMYKcmyk(0%, 62.8%, 0%, 52.5%)
CIE-LABlab(32.53, 43.55, -27.80)
CIE-LCHlch(32.53, 51.66, 327.45°)
OKLaboklab(43.68% 0.1213 -0.0767)
OKLCHoklch(43.68% 0.143 327.7)
XYZxyz(12.2746, 7.3230, 18.8524)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D79 #2D792D
analogous
#532D79 #792D79 #792D53
triadic
#792D79 #79792D #2D7979
tetradic
#792D79 #79532D #2D792D #2D5379
square
#792D79 #79532D #2D792D #2D5379
split-complementary
#792D79 #53792D #2D7953
monochromatic
#200C20 #4C1C4C #792D79 #A63EA6 #C35DC3

Accessibility & contrast

On white

8.52
#792D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D79
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D79#FFFFFF#000000##FFFFFF
##792D791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#7D374E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d79;
/* rgb */ color: rgb(121, 45, 121);
/* oklch */ color: oklch(43.7% 0.143 327.7);
Tailwind
colors: {
  custom: {
    50: '#a26ba0',
    500: '#792d79',
    950: '#000000',
  },
}
SCSS
$custom: #792d79;
$custom-light: #a26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#792d79",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.14349,
    "h": 327.7
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#792D79
secondary
#58A958
accent
#D55252
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D79

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

Preview Lab → · Contrast checker → · Palette generator →

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