#792D6E#792D6E

#792D6E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.134 H 333.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#792D6E
RGBrgb(121, 45, 110)
HSLhsl(309, 46%, 33%)
HSVhsv(309, 63%, 47%)
CMYKcmyk(0%, 62.8%, 9.1%, 52.5%)
CIE-LABlab(31.96, 41.55, -21.74)
CIE-LCHlch(31.96, 46.89, 332.39°)
OKLaboklab(43.08% 0.1199 -0.0593)
OKLCHoklch(43.08% 0.134 333.7)
XYZxyz(11.6381, 7.0684, 15.5002)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D6E #2D7938
analogous
#5E2D79 #792D6E #792D48
triadic
#792D6E #6E792D #2D6E79
tetradic
#792D6E #795E2D #2D7938 #2D4879
square
#792D6E #795E2D #2D7938 #2D4879
split-complementary
#792D6E #48792D #2D795E
monochromatic
#200C1D #4C1C45 #792D6E #A63E97 #C35DB4

Accessibility & contrast

On white

8.70
#792D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792D6E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D6E#FFFFFF#000000##FFFFFF
##792D6E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#444F6C
Tritanopia (blue-blind)
#7E3249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792d6e;
/* rgb */ color: rgb(121, 45, 110);
/* oklch */ color: oklch(43.1% 0.134 333.7);
Tailwind
colors: {
  custom: {
    50: '#a26b98',
    500: '#792d6e',
    950: '#000000',
  },
}
SCSS
$custom: #792d6e;
$custom-light: #a26b98;
$custom-dark: #000000;
JSON
{
  "hex": "#792d6e",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 308.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.13379,
    "h": 333.7
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#792D6E
secondary
#58A964
accent
#D56552
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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