#792D72#792D72

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

Color values

HEX#792D72
RGBrgb(121, 45, 114)
HSLhsl(306, 46%, 33%)
HSVhsv(306, 63%, 47%)
CMYKcmyk(0%, 62.8%, 5.8%, 52.5%)
CIE-LABlab(32.16, 42.26, -23.96)
CIE-LCHlch(32.16, 48.58, 330.45°)
OKLaboklab(43.3% 0.1205 -0.0656)
OKLCHoklch(43.3% 0.137 331.4)
XYZxyz(11.8608, 7.1575, 16.6732)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D72 #2D7934
analogous
#5A2D79 #792D72 #792D4C
triadic
#792D72 #72792D #2D7279
tetradic
#792D72 #795A2D #2D7934 #2D4C79
square
#792D72 #795A2D #2D7934 #2D4C79
split-complementary
#792D72 #4C792D #2D795A
monochromatic
#200C1E #4C1C48 #792D72 #A63E9C #C35DBA

Accessibility & contrast

On white

8.64
#792D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D72
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D72#FFFFFF#000000##FFFFFF
##792D721.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#7E344B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d72;
/* rgb */ color: rgb(121, 45, 114);
/* oklch */ color: oklch(43.3% 0.137 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26b9b',
    500: '#792d72',
    950: '#000000',
  },
}
SCSS
$custom: #792d72;
$custom-light: #a26b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792d72",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 305.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.13723,
    "h": 331.4
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#792D72
secondary
#58A960
accent
#D55E52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D72

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

Preview Lab → · Contrast checker → · Palette generator →

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