#791476#791476

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

Color values

HEX#791476
RGBrgb(121, 20, 118)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 83%, 47%)
CMYKcmyk(0%, 83.5%, 2.5%, 52.5%)
CIE-LABlab(29.09, 52.25, -31.34)
CIE-LCHlch(29.09, 60.93, 329.04°)
OKLaboklab(41.16% 0.1474 -0.0868)
OKLCHoklch(41.16% 0.171 329.5)
XYZxyz(11.4053, 5.8742, 17.6692)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791476 #147917
analogous
#491479 #791476 #791444
triadic
#791476 #767914 #147679
tetradic
#791476 #794914 #147917 #144479
square
#791476 #794914 #147917 #144479
split-complementary
#791476 #447914 #147949
monochromatic
#1A041A #440B43 #791476 #AE1DA9 #DC2BD7

Accessibility & contrast

On white

9.66
#791476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791476
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791476#FFFFFF#000000##FFFFFF
##7914761.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791476;
/* rgb */ color: rgb(121, 20, 118);
/* oklch */ color: oklch(41.2% 0.171 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3609e',
    500: '#791476',
    950: '#000000',
  },
}
SCSS
$custom: #791476;
$custom-light: #a3609e;
$custom-dark: #000000;
JSON
{
  "hex": "#791476",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 301.782,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.17108,
    "h": 329.5
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#791476
secondary
#3AAF3E
accent
#EE3F39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791476

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

Preview Lab → · Contrast checker → · Palette generator →

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