#792F79#792F79

#792F79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.140 H 327.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#792F79
RGBrgb(121, 47, 121)
HSLhsl(300, 44%, 33%)
HSVhsv(300, 61%, 47%)
CMYKcmyk(0%, 61.2%, 0%, 52.5%)
CIE-LABlab(32.87, 42.60, -27.26)
CIE-LCHlch(32.87, 50.58, 327.39°)
OKLaboklab(43.93% 0.1186 -0.0752)
OKLCHoklch(43.93% 0.14 327.6)
XYZxyz(12.3527, 7.4792, 18.8785)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F79 #2F792F
analogous
#542F79 #792F79 #792F54
triadic
#792F79 #79792F #2F7979
tetradic
#792F79 #79542F #2F792F #2F5479
square
#792F79 #79542F #2F792F #2F5479
split-complementary
#792F79 #54792F #2F7954
monochromatic
#210D21 #4D1E4D #792F79 #A540A5 #C261C2

Accessibility & contrast

On white

8.41
#792F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F79
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F79#FFFFFF#000000##FFFFFF
##792F791.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#7D384F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f79;
/* rgb */ color: rgb(121, 47, 121);
/* oklch */ color: oklch(43.9% 0.140 327.6);
Tailwind
colors: {
  custom: {
    50: '#a26da0',
    500: '#792f79',
    950: '#000000',
  },
}
SCSS
$custom: #792f79;
$custom-light: #a26da0;
$custom-dark: #000000;
JSON
{
  "hex": "#792f79",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.14042,
    "h": 327.6
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#792F79
secondary
#5BA85B
accent
#D45454
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F79

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

Preview Lab → · Contrast checker → · Palette generator →

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