#791576#791576

#791576 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.170 H 329.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#791576
RGBrgb(121, 21, 118)
HSLhsl(302, 70%, 28%)
HSVhsv(302, 83%, 47%)
CMYKcmyk(0%, 82.6%, 2.5%, 52.5%)
CIE-LABlab(29.18, 51.99, -31.20)
CIE-LCHlch(29.18, 60.63, 329.03°)
OKLaboklab(41.22% 0.1467 -0.0864)
OKLCHoklch(41.22% 0.17 329.5)
XYZxyz(11.4233, 5.9102, 17.6752)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791576 #157918
analogous
#4A1579 #791576 #791544
triadic
#791576 #767915 #157679
tetradic
#791576 #794A15 #157918 #154479
square
#791576 #794A15 #157918 #154479
split-complementary
#791576 #447915 #15794A
monochromatic
#1A0519 #450C43 #791576 #AD1EA9 #DB2ED5

Accessibility & contrast

On white

9.63
#791576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#791576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791576
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791576#FFFFFF#000000##FFFFFF
##7915761.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#354974
Tritanopia (blue-blind)
#7E2546
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791576;
/* rgb */ color: rgb(121, 21, 118);
/* oklch */ color: oklch(41.2% 0.170 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3619e',
    500: '#791576',
    950: '#000000',
  },
}
SCSS
$custom: #791576;
$custom-light: #a3619e;
$custom-dark: #000000;
JSON
{
  "hex": "#791576",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 301.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4122,
    "c": 0.17021,
    "h": 329.5
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#791576
secondary
#3BAF3F
accent
#ED403B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791576

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

Preview Lab → · Contrast checker → · Palette generator →

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