#792F76#792F76

#792F76 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.138 H 329.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#792F76
RGBrgb(121, 47, 118)
HSLhsl(302, 44%, 33%)
HSVhsv(302, 61%, 47%)
CMYKcmyk(0%, 61.2%, 2.5%, 52.5%)
CIE-LABlab(32.72, 42.04, -25.62)
CIE-LCHlch(32.72, 49.23, 328.64°)
OKLaboklab(43.77% 0.1183 -0.0704)
OKLCHoklch(43.77% 0.138 329.2)
XYZxyz(12.1716, 7.4068, 17.9246)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F76 #2F7932
analogous
#572F79 #792F76 #792F51
triadic
#792F76 #76792F #2F7679
tetradic
#792F76 #79572F #2F7932 #2F5179
square
#792F76 #79572F #2F7932 #2F5179
split-complementary
#792F76 #51792F #2F7957
monochromatic
#210D20 #4D1E4B #792F76 #A540A1 #C261BE

Accessibility & contrast

On white

8.46
#792F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F76
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F76#FFFFFF#000000##FFFFFF
##792F761.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#415174
Tritanopia (blue-blind)
#7D374E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f76;
/* rgb */ color: rgb(121, 47, 118);
/* oklch */ color: oklch(43.8% 0.138 329.2);
Tailwind
colors: {
  custom: {
    50: '#a26c9e',
    500: '#792f76',
    950: '#000000',
  },
}
SCSS
$custom: #792f76;
$custom-light: #a26c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792f76",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 302.432,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.13766,
    "h": 329.2
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#792F76
secondary
#5BA85E
accent
#D45954
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F76

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

Preview Lab → · Contrast checker → · Palette generator →

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