#792C71#792C71

#792C71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.138 H 332.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#792C71
RGBrgb(121, 44, 113)
HSLhsl(306, 47%, 32%)
HSVhsv(306, 64%, 47%)
CMYKcmyk(0%, 63.6%, 6.6%, 52.5%)
CIE-LABlab(31.94, 42.55, -23.67)
CIE-LCHlch(31.94, 48.69, 330.91°)
OKLaboklab(43.12% 0.1217 -0.0648)
OKLCHoklch(43.12% 0.138 332)
XYZxyz(11.7665, 7.0594, 16.3625)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C71 #2C7934
analogous
#5B2C79 #792C71 #792C4A
triadic
#792C71 #71792C #2C7179
tetradic
#792C71 #795B2C #2C7934 #2C4A79
square
#792C71 #795B2C #2C7934 #2C4A79
split-complementary
#792C71 #4A792C #2C795B
monochromatic
#1F0B1D #4C1C47 #792C71 #A63C9B #C45CB9

Accessibility & contrast

On white

8.71
#792C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C71
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C71#FFFFFF#000000##FFFFFF
##792C711.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7E334A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792c71;
/* rgb */ color: rgb(121, 44, 113);
/* oklch */ color: oklch(43.1% 0.138 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26b9a',
    500: '#792c71',
    950: '#000000',
  },
}
SCSS
$custom: #792c71;
$custom-light: #a26b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792c71",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 306.234,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.13791,
    "h": 332
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#792C71
secondary
#57AA60
accent
#D65F51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792C71

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

Preview Lab → · Contrast checker → · Palette generator →

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