#792B79#792B79

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

Color values

HEX#792B79
RGBrgb(121, 43, 121)
HSLhsl(300, 48%, 32%)
HSVhsv(300, 64%, 47%)
CMYKcmyk(0%, 64.5%, 0%, 52.5%)
CIE-LABlab(32.20, 44.46, -28.32)
CIE-LCHlch(32.20, 52.71, 327.50°)
OKLaboklab(43.44% 0.1239 -0.0782)
OKLCHoklch(43.44% 0.146 327.7)
XYZxyz(12.2001, 7.1740, 18.8276)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B79 #2B792B
analogous
#522B79 #792B79 #792B52
triadic
#792B79 #79792B #2B7979
tetradic
#792B79 #79522B #2B792B #2B5279
square
#792B79 #79522B #2B792B #2B5279
split-complementary
#792B79 #52792B #2B7952
monochromatic
#1F0B1F #4C1B4C #792B79 #A63BA6 #C45AC4

Accessibility & contrast

On white

8.63
#792B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B79
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B79#FFFFFF#000000##FFFFFF
##792B791.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#7D354E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792b79;
/* rgb */ color: rgb(121, 43, 121);
/* oklch */ color: oklch(43.4% 0.146 327.7);
Tailwind
colors: {
  custom: {
    50: '#a26aa0',
    500: '#792b79',
    950: '#000000',
  },
}
SCSS
$custom: #792b79;
$custom-light: #a26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#792b79",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.14647,
    "h": 327.7
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#792B79
secondary
#56AA56
accent
#D75151
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B79

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

Preview Lab → · Contrast checker → · Palette generator →

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