#792F74#792F74

#792F74 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 330.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792F74
RGBrgb(121, 47, 116)
HSLhsl(304, 44%, 33%)
HSVhsv(304, 61%, 47%)
CMYKcmyk(0%, 61.2%, 4.1%, 52.5%)
CIE-LABlab(32.61, 41.67, -24.52)
CIE-LCHlch(32.61, 48.35, 329.53°)
OKLaboklab(43.66% 0.118 -0.0673)
OKLCHoklch(43.66% 0.136 330.3)
XYZxyz(12.0540, 7.3598, 17.3053)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F74 #2F7934
analogous
#592F79 #792F74 #792F4F
triadic
#792F74 #74792F #2F7479
tetradic
#792F74 #79592F #2F7934 #2F4F79
square
#792F74 #79592F #2F7934 #2F4F79
split-complementary
#792F74 #4F792F #2F7959
monochromatic
#210D1F #4D1E4A #792F74 #A5409E #C261BB

Accessibility & contrast

On white

8.50
#792F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F74
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F74#FFFFFF#000000##FFFFFF
##792F741.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#7D364D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f74;
/* rgb */ color: rgb(121, 47, 116);
/* oklch */ color: oklch(43.7% 0.136 330.3);
Tailwind
colors: {
  custom: {
    50: '#a26c9c',
    500: '#792f74',
    950: '#000000',
  },
}
SCSS
$custom: #792f74;
$custom-light: #a26c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#792f74",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 304.054,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43656,
    "c": 0.13587,
    "h": 330.3
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#792F74
secondary
#5BA861
accent
#D45D54
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F74

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

Preview Lab → · Contrast checker → · Palette generator →

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