#792F73#792F73

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

Color values

HEX#792F73
RGBrgb(121, 47, 115)
HSLhsl(305, 44%, 33%)
HSVhsv(305, 61%, 47%)
CMYKcmyk(0%, 61.2%, 5%, 52.5%)
CIE-LABlab(32.56, 41.49, -23.97)
CIE-LCHlch(32.56, 47.92, 329.98°)
OKLaboklab(43.6% 0.1179 -0.0657)
OKLCHoklch(43.6% 0.135 330.9)
XYZxyz(11.9961, 7.3366, 17.0006)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F73 #2F7935
analogous
#5A2F79 #792F73 #792F4E
triadic
#792F73 #73792F #2F7379
tetradic
#792F73 #795A2F #2F7935 #2F4E79
square
#792F73 #795A2F #2F7935 #2F4E79
split-complementary
#792F73 #4E792F #2F795A
monochromatic
#210D1F #4D1E49 #792F73 #A5409D #C261BA

Accessibility & contrast

On white

8.51
#792F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F73
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F73#FFFFFF#000000##FFFFFF
##792F731.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#7E364C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f73;
/* rgb */ color: rgb(121, 47, 115);
/* oklch */ color: oklch(43.6% 0.135 330.9);
Tailwind
colors: {
  custom: {
    50: '#a26c9b',
    500: '#792f73',
    950: '#000000',
  },
}
SCSS
$custom: #792f73;
$custom-light: #a26c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792f73",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 304.865,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.13497,
    "h": 330.9
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#792F73
secondary
#5BA862
accent
#D45E54
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F73

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

Preview Lab → · Contrast checker → · Palette generator →

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