#792F6E#792F6E

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

Color values

HEX#792F6E
RGBrgb(121, 47, 110)
HSLhsl(309, 44%, 33%)
HSVhsv(309, 61%, 47%)
CMYKcmyk(0%, 61.2%, 9.1%, 52.5%)
CIE-LABlab(32.31, 40.59, -21.19)
CIE-LCHlch(32.31, 45.79, 332.44°)
OKLaboklab(43.34% 0.1171 -0.0577)
OKLCHoklch(43.34% 0.131 333.8)
XYZxyz(11.7162, 7.2246, 15.5262)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F6E #2F793A
analogous
#5F2F79 #792F6E #792F49
triadic
#792F6E #6E792F #2F6E79
tetradic
#792F6E #795F2F #2F793A #2F4979
square
#792F6E #795F2F #2F793A #2F4979
split-complementary
#792F6E #49792F #2F795F
monochromatic
#210D1E #4D1E46 #792F6E #A54096 #C261B3

Accessibility & contrast

On white

8.59
#792F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F6E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F6E#FFFFFF#000000##FFFFFF
##792F6E1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#7E344A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792f6e;
/* rgb */ color: rgb(121, 47, 110);
/* oklch */ color: oklch(43.3% 0.131 333.8);
Tailwind
colors: {
  custom: {
    50: '#a26c98',
    500: '#792f6e',
    950: '#000000',
  },
}
SCSS
$custom: #792f6e;
$custom-light: #a26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#792f6e",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 308.919,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.1306,
    "h": 333.8
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#792F6E
secondary
#5BA867
accent
#D46754
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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