#792B74#792B74

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

Color values

HEX#792B74
RGBrgb(121, 43, 116)
HSLhsl(304, 48%, 32%)
HSVhsv(304, 64%, 47%)
CMYKcmyk(0%, 64.5%, 4.1%, 52.5%)
CIE-LABlab(31.93, 43.55, -25.59)
CIE-LCHlch(31.93, 50.51, 329.56°)
OKLaboklab(43.16% 0.1234 -0.0703)
OKLCHoklch(43.16% 0.142 330.3)
XYZxyz(11.9013, 7.0545, 17.2544)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B74 #2B7930
analogous
#572B79 #792B74 #792B4D
triadic
#792B74 #74792B #2B7479
tetradic
#792B74 #79572B #2B7930 #2B4D79
square
#792B74 #79572B #2B7930 #2B4D79
split-complementary
#792B74 #4D792B #2B7957
monochromatic
#1F0B1D #4C1B49 #792B74 #A63B9F #C45ABE

Accessibility & contrast

On white

8.71
#792B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B74
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B74#FFFFFF#000000##FFFFFF
##792B741.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#7E334B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792b74;
/* rgb */ color: rgb(121, 43, 116);
/* oklch */ color: oklch(43.2% 0.142 330.3);
Tailwind
colors: {
  custom: {
    50: '#a26a9c',
    500: '#792b74',
    950: '#000000',
  },
}
SCSS
$custom: #792b74;
$custom-light: #a26a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#792b74",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 303.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.14203,
    "h": 330.3
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#792B74
secondary
#56AA5B
accent
#D75951
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B74

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

Preview Lab → · Contrast checker → · Palette generator →

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