#792B7A#792B7A

#792B7A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 327.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#792B7A
RGBrgb(121, 43, 122)
HSLhsl(299, 48%, 32%)
HSVhsv(299, 65%, 48%)
CMYKcmyk(0.8%, 64.8%, 0%, 52.2%)
CIE-LABlab(32.25, 44.65, -28.86)
CIE-LCHlch(32.25, 53.16, 327.12°)
OKLaboklab(43.5% 0.1239 -0.0798)
OKLCHoklch(43.5% 0.147 327.2)
XYZxyz(12.2617, 7.1986, 19.1522)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B7A #2C7A2B
analogous
#522B7A #792B7A #7A2B53
triadic
#792B7A #7A792B #2B7A79
tetradic
#792B7A #7A522B #2C7A2B #2B537A
square
#792B7A #7A522B #2C7A2B #2B537A
split-complementary
#792B7A #537A2B #2B7A52
monochromatic
#1F0B1F #4C1B4D #792B7A #A63BA7 #C45AC5

Accessibility & contrast

On white

8.61
#792B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B7A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B7A#FFFFFF#000000##FFFFFF
##792B7A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#7D354E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792b7a;
/* rgb */ color: rgb(121, 43, 122);
/* oklch */ color: oklch(43.5% 0.147 327.2);
Tailwind
colors: {
  custom: {
    50: '#a26aa1',
    500: '#792b7a',
    950: '#000000',
  },
}
SCSS
$custom: #792b7a;
$custom-light: #a26aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#792b7a",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 299.241,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.435,
    "c": 0.14737,
    "h": 327.2
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#792B7A
secondary
#57AB56
accent
#D75052
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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