#792073#792073

#792073 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.156 H 330.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#792073
RGBrgb(121, 32, 115)
HSLhsl(304, 58%, 30%)
HSVhsv(304, 74%, 47%)
CMYKcmyk(0%, 73.6%, 5%, 52.5%)
CIE-LABlab(30.25, 47.93, -27.61)
CIE-LCHlch(30.25, 55.32, 330.06°)
OKLaboklab(41.92% 0.1365 -0.076)
OKLCHoklch(41.92% 0.156 330.9)
XYZxyz(11.4962, 6.3367, 16.8339)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792073 #207926
analogous
#532079 #792073 #792046
triadic
#792073 #737920 #207379
tetradic
#792073 #795320 #207926 #204679
square
#792073 #795320 #207926 #204679
split-complementary
#792073 #467920 #207953
monochromatic
#180617 #491345 #792073 #A92DA1 #CE45C5

Accessibility & contrast

On white

9.26
#792073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#792073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792073
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792073#FFFFFF#000000##FFFFFF
##7920731.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#7E2B47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #792073;
/* rgb */ color: rgb(121, 32, 115);
/* oklch */ color: oklch(41.9% 0.156 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3659b',
    500: '#792073',
    950: '#000000',
  },
}
SCSS
$custom: #792073;
$custom-light: #a3659b;
$custom-dark: #000000;
JSON
{
  "hex": "#792073",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 304.045,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.15622,
    "h": 330.9
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#792073
secondary
#49AC4F
accent
#E15146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792073

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

Preview Lab → · Contrast checker → · Palette generator →

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