#792D77#792D77

#792D77 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.142 H 328.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#792D77
RGBrgb(121, 45, 119)
HSLhsl(302, 46%, 33%)
HSVhsv(302, 63%, 47%)
CMYKcmyk(0%, 62.8%, 1.7%, 52.5%)
CIE-LABlab(32.42, 43.17, -26.71)
CIE-LCHlch(32.42, 50.77, 328.26°)
OKLaboklab(43.57% 0.1211 -0.0735)
OKLCHoklch(43.57% 0.142 328.7)
XYZxyz(12.1532, 7.2744, 18.2132)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D77 #2D792F
analogous
#552D79 #792D77 #792D51
triadic
#792D77 #77792D #2D7779
tetradic
#792D77 #79552D #2D792F #2D5179
square
#792D77 #79552D #2D792F #2D5179
split-complementary
#792D77 #51792D #2D7955
monochromatic
#200C1F #4C1C4B #792D77 #A63EA3 #C35DC0

Accessibility & contrast

On white

8.55
#792D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D77
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D77#FFFFFF#000000##FFFFFF
##792D771.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#7D364D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d77;
/* rgb */ color: rgb(121, 45, 119);
/* oklch */ color: oklch(43.6% 0.142 328.7);
Tailwind
colors: {
  custom: {
    50: '#a26b9e',
    500: '#792d77',
    950: '#000000',
  },
}
SCSS
$custom: #792d77;
$custom-light: #a26b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792d77",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 301.579,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.14167,
    "h": 328.7
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#792D77
secondary
#58A95B
accent
#D55652
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D77

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

Preview Lab → · Contrast checker → · Palette generator →

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