#792E6F#792E6F

#792E6F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.133 H 333.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#792E6F
RGBrgb(121, 46, 111)
HSLhsl(308, 45%, 33%)
HSVhsv(308, 62%, 47%)
CMYKcmyk(0%, 62%, 8.3%, 52.5%)
CIE-LABlab(32.19, 41.25, -22.02)
CIE-LCHlch(32.19, 46.76, 331.90°)
OKLaboklab(43.26% 0.1187 -0.0601)
OKLCHoklch(43.26% 0.133 333.1)
XYZxyz(11.7314, 7.1675, 15.8014)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E6F #2E7938
analogous
#5D2E79 #792E6F #792E49
triadic
#792E6F #6F792E #2E6F79
tetradic
#792E6F #795D2E #2E7938 #2E4979
square
#792E6F #795D2E #2E7938 #2E4979
split-complementary
#792E6F #49792E #2E795D
monochromatic
#200C1E #4D1D46 #792E6F #A53F98 #C25FB5

Accessibility & contrast

On white

8.63
#792E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E6F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E6F#FFFFFF#000000##FFFFFF
##792E6F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#44506D
Tritanopia (blue-blind)
#7E344A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792e6f;
/* rgb */ color: rgb(121, 46, 111);
/* oklch */ color: oklch(43.3% 0.133 333.1);
Tailwind
colors: {
  custom: {
    50: '#a26c98',
    500: '#792e6f',
    950: '#000000',
  },
}
SCSS
$custom: #792e6f;
$custom-light: #a26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#792e6f",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 308,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.13306,
    "h": 333.1
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#792E6F
secondary
#5AA964
accent
#D56453
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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