#792E6D#792E6D

#792E6D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.131 H 334.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#792E6D
RGBrgb(121, 46, 109)
HSLhsl(310, 45%, 33%)
HSVhsv(310, 62%, 47%)
CMYKcmyk(0%, 62%, 9.9%, 52.5%)
CIE-LABlab(32.09, 40.90, -20.91)
CIE-LCHlch(32.09, 45.93, 332.93°)
OKLaboklab(43.16% 0.1184 -0.0569)
OKLCHoklch(43.16% 0.131 334.3)
XYZxyz(11.6225, 7.1239, 15.2279)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E6D #2E793A
analogous
#5F2E79 #792E6D #792E47
triadic
#792E6D #6D792E #2E6D79
tetradic
#792E6D #795F2E #2E793A #2E4779
square
#792E6D #795F2E #2E793A #2E4779
split-complementary
#792E6D #47792E #2E795F
monochromatic
#200C1D #4D1D45 #792E6D #A53F95 #C25FB2

Accessibility & contrast

On white

8.66
#792E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E6D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E6D#FFFFFF#000000##FFFFFF
##792E6D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#454F6B
Tritanopia (blue-blind)
#7F3349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792e6d;
/* rgb */ color: rgb(121, 46, 109);
/* oklch */ color: oklch(43.2% 0.131 334.3);
Tailwind
colors: {
  custom: {
    50: '#a26c97',
    500: '#792e6d',
    950: '#000000',
  },
}
SCSS
$custom: #792e6d;
$custom-light: #a26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#792e6d",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 309.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.13135,
    "h": 334.3
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#792E6D
secondary
#5AA967
accent
#D56853
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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