#792F71#792F71

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

Color values

HEX#792F71
RGBrgb(121, 47, 113)
HSLhsl(306, 44%, 33%)
HSVhsv(306, 61%, 47%)
CMYKcmyk(0%, 61.2%, 6.6%, 52.5%)
CIE-LABlab(32.46, 41.13, -22.86)
CIE-LCHlch(32.46, 47.05, 330.93°)
OKLaboklab(43.5% 0.1176 -0.0625)
OKLCHoklch(43.5% 0.133 332)
XYZxyz(11.8823, 7.2911, 16.4011)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F71 #2F7937
analogous
#5C2F79 #792F71 #792F4C
triadic
#792F71 #71792F #2F7179
tetradic
#792F71 #795C2F #2F7937 #2F4C79
square
#792F71 #795C2F #2F7937 #2F4C79
split-complementary
#792F71 #4C792F #2F795C
monochromatic
#210D1F #4D1E48 #792F71 #A5409A #C261B7

Accessibility & contrast

On white

8.54
#792F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F71
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F71#FFFFFF#000000##FFFFFF
##792F711.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#7E354B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792f71;
/* rgb */ color: rgb(121, 47, 113);
/* oklch */ color: oklch(43.5% 0.133 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26c9a',
    500: '#792f71',
    950: '#000000',
  },
}
SCSS
$custom: #792f71;
$custom-light: #a26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792f71",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 306.486,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43496,
    "c": 0.1332,
    "h": 332
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#792F71
secondary
#5BA864
accent
#D46254
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F71

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

Preview Lab → · Contrast checker → · Palette generator →

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