#792F72#792F72

#792F72 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.134 H 331.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#792F72
RGBrgb(121, 47, 114)
HSLhsl(306, 44%, 33%)
HSVhsv(306, 61%, 47%)
CMYKcmyk(0%, 61.2%, 5.8%, 52.5%)
CIE-LABlab(32.51, 41.31, -23.42)
CIE-LCHlch(32.51, 47.48, 330.45°)
OKLaboklab(43.55% 0.1178 -0.0641)
OKLCHoklch(43.55% 0.134 331.4)
XYZxyz(11.9389, 7.3137, 16.6992)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F72 #2F7936
analogous
#5B2F79 #792F72 #792F4D
triadic
#792F72 #72792F #2F7279
tetradic
#792F72 #795B2F #2F7936 #2F4D79
square
#792F72 #795B2F #2F7936 #2F4D79
split-complementary
#792F72 #4D792F #2F795B
monochromatic
#210D1F #4D1E48 #792F72 #A5409C #C261B8

Accessibility & contrast

On white

8.53
#792F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F72
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F72#FFFFFF#000000##FFFFFF
##792F721.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792f72;
/* rgb */ color: rgb(121, 47, 114);
/* oklch */ color: oklch(43.5% 0.134 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26c9b',
    500: '#792f72',
    950: '#000000',
  },
}
SCSS
$custom: #792f72;
$custom-light: #a26c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792f72",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 305.676,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.13408,
    "h": 331.4
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#792F72
secondary
#5BA863
accent
#D46054
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F72

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

Preview Lab → · Contrast checker → · Palette generator →

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