#792F6F#792F6F

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

Color values

HEX#792F6F
RGBrgb(121, 47, 111)
HSLhsl(308, 44%, 33%)
HSVhsv(308, 61%, 47%)
CMYKcmyk(0%, 61.2%, 8.3%, 52.5%)
CIE-LABlab(32.36, 40.77, -21.75)
CIE-LCHlch(32.36, 46.21, 331.92°)
OKLaboklab(43.39% 0.1173 -0.0593)
OKLCHoklch(43.39% 0.131 333.2)
XYZxyz(11.7709, 7.2465, 15.8146)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F6F #2F7939
analogous
#5E2F79 #792F6F #792F4A
triadic
#792F6F #6F792F #2F6F79
tetradic
#792F6F #795E2F #2F7939 #2F4A79
square
#792F6F #795E2F #2F7939 #2F4A79
split-complementary
#792F6F #4A792F #2F795E
monochromatic
#210D1E #4D1E47 #792F6F #A54097 #C261B4

Accessibility & contrast

On white

8.57
#792F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F6F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F6F#FFFFFF#000000##FFFFFF
##792F6F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792f6f;
/* rgb */ color: rgb(121, 47, 111);
/* oklch */ color: oklch(43.4% 0.131 333.2);
Tailwind
colors: {
  custom: {
    50: '#a26c98',
    500: '#792f6f',
    950: '#000000',
  },
}
SCSS
$custom: #792f6f;
$custom-light: #a26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#792f6f",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 308.108,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.13146,
    "h": 333.2
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#792F6F
secondary
#5BA866
accent
#D46554
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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