#793972#793972

#793972 is a dark, moderate purple. Relative luminance 0.082; OKLCH L 44.9% C 0.117 H 331.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#793972
RGBrgb(121, 57, 114)
HSLhsl(307, 36%, 35%)
HSVhsv(307, 53%, 47%)
CMYKcmyk(0%, 52.9%, 5.8%, 52.5%)
CIE-LABlab(34.41, 36.21, -20.46)
CIE-LCHlch(34.41, 41.59, 330.53°)
OKLaboklab(44.95% 0.1031 -0.0557)
OKLCHoklch(44.95% 0.117 331.6)
XYZxyz(12.3855, 8.2069, 16.8481)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793972 #397940
analogous
#603979 #793972 #793952
triadic
#793972 #727939 #397279
tetradic
#793972 #796039 #397940 #395279
square
#793972 #796039 #397940 #395279
split-complementary
#793972 #527939 #397960
monochromatic
#261224 #4F254B #793972 #A34D99 #BC71B4

Accessibility & contrast

On white

7.95
#793972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#793972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793972
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793972#FFFFFF#000000##FFFFFF
##7939721.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#7D3E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #793972;
/* rgb */ color: rgb(121, 57, 114);
/* oklch */ color: oklch(44.9% 0.117 331.6);
Tailwind
colors: {
  custom: {
    50: '#a1729a',
    500: '#793972',
    950: '#000000',
  },
}
SCSS
$custom: #793972;
$custom-light: #a1729a;
$custom-dark: #000000;
JSON
{
  "hex": "#793972",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 306.563,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.11719,
    "h": 331.6
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#793972
secondary
#69A56F
accent
#CC685C
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #793972

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

Preview Lab → · Contrast checker → · Palette generator →

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