#792B6D#792B6D

#792B6D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.136 H 334.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#792B6D
RGBrgb(121, 43, 109)
HSLhsl(309, 48%, 32%)
HSVhsv(309, 64%, 47%)
CMYKcmyk(0%, 64.5%, 9.9%, 52.5%)
CIE-LABlab(31.57, 42.31, -21.71)
CIE-LCHlch(31.57, 47.55, 332.84°)
OKLaboklab(42.78% 0.1225 -0.0592)
OKLCHoklch(42.78% 0.136 334.2)
XYZxyz(11.5094, 6.8977, 15.1902)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B6D #2B7937
analogous
#5E2B79 #792B6D #792B46
triadic
#792B6D #6D792B #2B6D79
tetradic
#792B6D #795E2B #2B7937 #2B4679
square
#792B6D #795E2B #2B7937 #2B4679
split-complementary
#792B6D #46792B #2B795E
monochromatic
#1F0B1C #4C1B44 #792B6D #A63B96 #C45AB4

Accessibility & contrast

On white

8.83
#792B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B6D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B6D#FFFFFF#000000##FFFFFF
##792B6D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#7F3048
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792b6d;
/* rgb */ color: rgb(121, 43, 109);
/* oklch */ color: oklch(42.8% 0.136 334.2);
Tailwind
colors: {
  custom: {
    50: '#a26a97',
    500: '#792b6d',
    950: '#000000',
  },
}
SCSS
$custom: #792b6d;
$custom-light: #a26a97;
$custom-dark: #000000;
JSON
{
  "hex": "#792b6d",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 309.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.13606,
    "h": 334.2
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#792B6D
secondary
#56AA63
accent
#D76551
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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