#792D6D#792D6D

#792D6D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.133 H 334.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#792D6D
RGBrgb(121, 45, 109)
HSLhsl(309, 46%, 33%)
HSVhsv(309, 63%, 47%)
CMYKcmyk(0%, 62.8%, 9.9%, 52.5%)
CIE-LABlab(31.91, 41.38, -21.18)
CIE-LCHlch(31.91, 46.48, 332.90°)
OKLaboklab(43.03% 0.1198 -0.0577)
OKLCHoklch(43.03% 0.133 334.3)
XYZxyz(11.5839, 7.0467, 15.2151)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D6D #2D7939
analogous
#5F2D79 #792D6D #792D47
triadic
#792D6D #6D792D #2D6D79
tetradic
#792D6D #795F2D #2D7939 #2D4779
square
#792D6D #795F2D #2D7939 #2D4779
split-complementary
#792D6D #47792D #2D795F
monochromatic
#200C1D #4C1C45 #792D6D #A63E95 #C35DB3

Accessibility & contrast

On white

8.72
#792D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792D6D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D6D#FFFFFF#000000##FFFFFF
##792D6D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#7F3248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792d6d;
/* rgb */ color: rgb(121, 45, 109);
/* oklch */ color: oklch(43.0% 0.133 334.3);
Tailwind
colors: {
  custom: {
    50: '#a26b97',
    500: '#792d6d',
    950: '#000000',
  },
}
SCSS
$custom: #792d6d;
$custom-light: #a26b97;
$custom-dark: #000000;
JSON
{
  "hex": "#792d6d",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 309.474,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.13294,
    "h": 334.3
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#792D6D
secondary
#58A965
accent
#D56752
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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