#792F7A#792F7A

#792F7A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.141 H 327.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#792F7A
RGBrgb(121, 47, 122)
HSLhsl(299, 44%, 33%)
HSVhsv(299, 61%, 48%)
CMYKcmyk(0.8%, 61.5%, 0%, 52.2%)
CIE-LABlab(32.93, 42.79, -27.80)
CIE-LCHlch(32.93, 51.03, 326.99°)
OKLaboklab(43.99% 0.1187 -0.0767)
OKLCHoklch(43.99% 0.141 327.1)
XYZxyz(12.4143, 7.5039, 19.2031)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F7A #307A2F
analogous
#532F7A #792F7A #7A2F55
triadic
#792F7A #7A792F #2F7A79
tetradic
#792F7A #7A532F #307A2F #2F557A
square
#792F7A #7A532F #307A2F #2F557A
split-complementary
#792F7A #557A2F #2F7A53
monochromatic
#210D22 #4D1E4E #792F7A #A540A6 #C161C2

Accessibility & contrast

On white

8.40
#792F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F7A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F7A#FFFFFF#000000##FFFFFF
##792F7A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#7C3850
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f7a;
/* rgb */ color: rgb(121, 47, 122);
/* oklch */ color: oklch(44.0% 0.141 327.1);
Tailwind
colors: {
  custom: {
    50: '#a26da1',
    500: '#792f7a',
    950: '#000000',
  },
}
SCSS
$custom: #792f7a;
$custom-light: #a26da1;
$custom-dark: #000000;
JSON
{
  "hex": "#792f7a",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 299.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.14134,
    "h": 327.1
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#792F7A
secondary
#5DA95C
accent
#D45455
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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