#792F6D#792F6D

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

Color values

HEX#792F6D
RGBrgb(121, 47, 109)
HSLhsl(310, 44%, 33%)
HSVhsv(310, 61%, 47%)
CMYKcmyk(0%, 61.2%, 9.9%, 52.5%)
CIE-LABlab(32.26, 40.42, -20.63)
CIE-LCHlch(32.26, 45.38, 332.96°)
OKLaboklab(43.29% 0.117 -0.0561)
OKLCHoklch(43.29% 0.13 334.4)
XYZxyz(11.6620, 7.2030, 15.2411)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F6D #2F793B
analogous
#602F79 #792F6D #792F48
triadic
#792F6D #6D792F #2F6D79
tetradic
#792F6D #79602F #2F793B #2F4879
square
#792F6D #79602F #2F793B #2F4879
split-complementary
#792F6D #48792F #2F7960
monochromatic
#210D1E #4D1E45 #792F6D #A54095 #C261B2

Accessibility & contrast

On white

8.61
#792F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F6D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F6D#FFFFFF#000000##FFFFFF
##792F6D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#45506B
Tritanopia (blue-blind)
#7F3449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792f6d;
/* rgb */ color: rgb(121, 47, 109);
/* oklch */ color: oklch(43.3% 0.130 334.4);
Tailwind
colors: {
  custom: {
    50: '#a26c97',
    500: '#792f6d',
    950: '#000000',
  },
}
SCSS
$custom: #792f6d;
$custom-light: #a26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#792f6d",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 309.73,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.12974,
    "h": 334.4
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#792F6D
secondary
#5BA868
accent
#D46954
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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