#792E72#792E72

#792E72 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.136 H 331.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#792E72
RGBrgb(121, 46, 114)
HSLhsl(306, 45%, 33%)
HSVhsv(306, 62%, 47%)
CMYKcmyk(0%, 62%, 5.8%, 52.5%)
CIE-LABlab(32.34, 41.79, -23.69)
CIE-LCHlch(32.34, 48.04, 330.45°)
OKLaboklab(43.42% 0.1192 -0.0649)
OKLCHoklch(43.42% 0.136 331.4)
XYZxyz(11.8994, 7.2347, 16.6860)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E72 #2E7935
analogous
#5A2E79 #792E72 #792E4C
triadic
#792E72 #72792E #2E7279
tetradic
#792E72 #795A2E #2E7935 #2E4C79
square
#792E72 #795A2E #2E7935 #2E4C79
split-complementary
#792E72 #4C792E #2E795A
monochromatic
#200C1E #4D1D48 #792E72 #A53F9C #C25FB9

Accessibility & contrast

On white

8.58
#792E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E72
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E72#FFFFFF#000000##FFFFFF
##792E721.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#7E354B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792e72;
/* rgb */ color: rgb(121, 46, 114);
/* oklch */ color: oklch(43.4% 0.136 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26c9b',
    500: '#792e72',
    950: '#000000',
  },
}
SCSS
$custom: #792e72;
$custom-light: #a26c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792e72",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 305.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.13567,
    "h": 331.4
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#792E72
secondary
#5AA961
accent
#D55F53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792E72

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

Preview Lab → · Contrast checker → · Palette generator →

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