#791573#791573

#791573 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.168 H 330.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#791573
RGBrgb(121, 21, 115)
HSLhsl(304, 70%, 28%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 82.6%, 5%, 52.5%)
CIE-LABlab(29.01, 51.49, -29.57)
CIE-LCHlch(29.01, 59.38, 330.13°)
OKLaboklab(41.03% 0.1467 -0.0816)
OKLCHoklch(41.03% 0.168 330.9)
XYZxyz(11.2478, 5.8400, 16.7512)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791573 #15791B
analogous
#4D1579 #791573 #791541
triadic
#791573 #737915 #157379
tetradic
#791573 #794D15 #15791B #154179
square
#791573 #794D15 #15791B #154179
split-complementary
#791573 #417915 #15794D
monochromatic
#1A0519 #450C41 #791573 #AD1EA5 #DB2ED0

Accessibility & contrast

On white

9.69
#791573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791573
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791573#FFFFFF#000000##FFFFFF
##7915731.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#374971
Tritanopia (blue-blind)
#7E2444
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791573;
/* rgb */ color: rgb(121, 21, 115);
/* oklch */ color: oklch(41.0% 0.168 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3619c',
    500: '#791573',
    950: '#000000',
  },
}
SCSS
$custom: #791573;
$custom-light: #a3619c;
$custom-dark: #000000;
JSON
{
  "hex": "#791573",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 303.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.1679,
    "h": 330.9
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#791573
secondary
#3BAF42
accent
#ED453B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791573

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

Preview Lab → · Contrast checker → · Palette generator →

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