#792973#792973

#792973 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.144 H 330.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#792973
RGBrgb(121, 41, 115)
HSLhsl(305, 49%, 32%)
HSVhsv(305, 66%, 47%)
CMYKcmyk(0%, 66.1%, 5%, 52.5%)
CIE-LABlab(31.55, 44.26, -25.55)
CIE-LCHlch(31.55, 51.11, 330.01°)
OKLaboklab(42.87% 0.1259 -0.0702)
OKLCHoklch(42.87% 0.144 330.9)
XYZxyz(11.7726, 6.8895, 16.9261)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792973 #29792F
analogous
#572979 #792973 #79294B
triadic
#792973 #737929 #297379
tetradic
#792973 #795729 #29792F #294B79
square
#792973 #795729 #29792F #294B79
split-complementary
#792973 #4B7929 #297957
monochromatic
#1E0A1C #4B1A48 #792973 #A7389E #C656BE

Accessibility & contrast

On white

8.83
#792973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792973
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792973#FFFFFF#000000##FFFFFF
##7929731.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#7E314A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792973;
/* rgb */ color: rgb(121, 41, 115);
/* oklch */ color: oklch(42.9% 0.144 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2699b',
    500: '#792973',
    950: '#000000',
  },
}
SCSS
$custom: #792973;
$custom-light: #a2699b;
$custom-dark: #000000;
JSON
{
  "hex": "#792973",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 304.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.14412,
    "h": 330.9
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#792973
secondary
#53AB5A
accent
#D9594F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792973

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

Preview Lab → · Contrast checker → · Palette generator →

#792973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva