#792B71#792B71

#792B71 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.139 H 332.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#792B71
RGBrgb(121, 43, 113)
HSLhsl(306, 48%, 32%)
HSVhsv(306, 64%, 47%)
CMYKcmyk(0%, 64.5%, 6.6%, 52.5%)
CIE-LABlab(31.77, 43.01, -23.93)
CIE-LCHlch(31.77, 49.22, 330.90°)
OKLaboklab(43% 0.1231 -0.0655)
OKLCHoklch(43% 0.139 332)
XYZxyz(11.7297, 6.9858, 16.3502)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B71 #2B7933
analogous
#5A2B79 #792B71 #792B4A
triadic
#792B71 #71792B #2B7179
tetradic
#792B71 #795A2B #2B7933 #2B4A79
square
#792B71 #795A2B #2B7933 #2B4A79
split-complementary
#792B71 #4A792B #2B795A
monochromatic
#1F0B1D #4C1B47 #792B71 #A63B9B #C45AB9

Accessibility & contrast

On white

8.76
#792B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#792B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B71
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B71#FFFFFF#000000##FFFFFF
##792B711.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#7E324A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792b71;
/* rgb */ color: rgb(121, 43, 113);
/* oklch */ color: oklch(43.0% 0.139 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26a9a',
    500: '#792b71',
    950: '#000000',
  },
}
SCSS
$custom: #792b71;
$custom-light: #a26a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#792b71",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 306.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.13943,
    "h": 332
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#792B71
secondary
#56AA5E
accent
#D75E51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B71

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

Preview Lab → · Contrast checker → · Palette generator →

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