#792373#792373

#792373 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 330.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#792373
RGBrgb(121, 35, 115)
HSLhsl(304, 55%, 31%)
HSVhsv(304, 71%, 47%)
CMYKcmyk(0%, 71.1%, 5%, 52.5%)
CIE-LABlab(30.65, 46.78, -26.96)
CIE-LCHlch(30.65, 54.00, 330.04°)
OKLaboklab(42.22% 0.1331 -0.0742)
OKLCHoklch(42.22% 0.152 330.9)
XYZxyz(11.5807, 6.5057, 16.8621)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792373 #237929
analogous
#542379 #792373 #792348
triadic
#792373 #737923 #237379
tetradic
#792373 #795423 #237929 #234879
square
#792373 #795423 #237929 #234879
split-complementary
#792373 #487923 #237954
monochromatic
#1A0819 #4A1546 #792373 #A831A0 #CB4BC2

Accessibility & contrast

On white

9.13
#792373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792373
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792373#FFFFFF#000000##FFFFFF
##7923731.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#7E2D48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792373;
/* rgb */ color: rgb(121, 35, 115);
/* oklch */ color: oklch(42.2% 0.152 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3669b',
    500: '#792373',
    950: '#000000',
  },
}
SCSS
$custom: #792373;
$custom-light: #a3669b;
$custom-dark: #000000;
JSON
{
  "hex": "#792373",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 304.186,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.15242,
    "h": 330.9
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#792373
secondary
#4CAC53
accent
#DE5449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792373

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

Preview Lab → · Contrast checker → · Palette generator →

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