#792372#792372

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

Color values

HEX#792372
RGBrgb(121, 35, 114)
HSLhsl(305, 55%, 31%)
HSVhsv(305, 71%, 47%)
CMYKcmyk(0%, 71.1%, 5.8%, 52.5%)
CIE-LABlab(30.60, 46.61, -26.42)
CIE-LCHlch(30.60, 53.57, 330.46°)
OKLaboklab(42.16% 0.1331 -0.0726)
OKLCHoklch(42.16% 0.152 331.4)
XYZxyz(11.5234, 6.4828, 16.5607)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792372 #23792A
analogous
#552379 #792372 #792347
triadic
#792372 #727923 #237279
tetradic
#792372 #795523 #23792A #234779
square
#792372 #795523 #23792A #234779
split-complementary
#792372 #477923 #237955
monochromatic
#1A0819 #4A1545 #792372 #A8319F #CB4BC1

Accessibility & contrast

On white

9.14
#792372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792372
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792372#FFFFFF#000000##FFFFFF
##7923721.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#7E2C47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792372;
/* rgb */ color: rgb(121, 35, 114);
/* oklch */ color: oklch(42.2% 0.152 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3669b',
    500: '#792372',
    950: '#000000',
  },
}
SCSS
$custom: #792372;
$custom-light: #a3669b;
$custom-dark: #000000;
JSON
{
  "hex": "#792372",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 304.884,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.15159,
    "h": 331.4
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#792372
secondary
#4CAC54
accent
#DE5549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792372

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

Preview Lab → · Contrast checker → · Palette generator →

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