#792C7A#792C7A

#792C7A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#792C7A
RGBrgb(121, 44, 122)
HSLhsl(299, 47%, 33%)
HSVhsv(299, 64%, 48%)
CMYKcmyk(0.8%, 63.9%, 0%, 52.2%)
CIE-LABlab(32.42, 44.19, -28.60)
CIE-LCHlch(32.42, 52.64, 327.09°)
OKLaboklab(43.62% 0.1227 -0.079)
OKLCHoklch(43.62% 0.146 327.2)
XYZxyz(12.2985, 7.2722, 19.1645)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7A #2D7A2C
analogous
#522C7A #792C7A #7A2C54
triadic
#792C7A #7A792C #2C7A79
tetradic
#792C7A #7A522C #2D7A2C #2C547A
square
#792C7A #7A522C #2D7A2C #2C547A
split-complementary
#792C7A #547A2C #2C7A52
monochromatic
#200C20 #4C1C4D #792C7A #A63CA7 #C35CC4

Accessibility & contrast

On white

8.56
#792C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C7A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7A#FFFFFF#000000##FFFFFF
##792C7A1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#7D364F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792c7a;
/* rgb */ color: rgb(121, 44, 122);
/* oklch */ color: oklch(43.6% 0.146 327.2);
Tailwind
colors: {
  custom: {
    50: '#a26ba1',
    500: '#792c7a',
    950: '#000000',
  },
}
SCSS
$custom: #792c7a;
$custom-light: #a26ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7a",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 299.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.1459,
    "h": 327.2
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#792C7A
secondary
#58AA57
accent
#D75153
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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