#792E79#792E79

#792E79 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.142 H 327.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792E79
RGBrgb(121, 46, 121)
HSLhsl(300, 45%, 33%)
HSVhsv(300, 62%, 47%)
CMYKcmyk(0%, 62%, 0%, 52.5%)
CIE-LABlab(32.70, 43.08, -27.53)
CIE-LCHlch(32.70, 51.12, 327.42°)
OKLaboklab(43.81% 0.12 -0.0759)
OKLCHoklch(43.81% 0.142 327.7)
XYZxyz(12.3132, 7.4002, 18.8653)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E79 #2E792E
analogous
#532E79 #792E79 #792E53
triadic
#792E79 #79792E #2E7979
tetradic
#792E79 #79532E #2E792E #2E5379
square
#792E79 #79532E #2E792E #2E5379
split-complementary
#792E79 #53792E #2E7953
monochromatic
#200C20 #4D1D4D #792E79 #A53FA5 #C25FC2

Accessibility & contrast

On white

8.47
#792E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E79
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E79#FFFFFF#000000##FFFFFF
##792E791.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#7D374F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792e79;
/* rgb */ color: rgb(121, 46, 121);
/* oklch */ color: oklch(43.8% 0.142 327.7);
Tailwind
colors: {
  custom: {
    50: '#a26ca0',
    500: '#792e79',
    950: '#000000',
  },
}
SCSS
$custom: #792e79;
$custom-light: #a26ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#792e79",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.14196,
    "h": 327.7
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#792E79
secondary
#5AA95A
accent
#D55353
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792E79

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

Preview Lab → · Contrast checker → · Palette generator →

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