#791776#791776

#791776 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 329.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#791776
RGBrgb(121, 23, 118)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 47%)
CMYKcmyk(0%, 81%, 2.5%, 52.5%)
CIE-LABlab(29.38, 51.43, -30.89)
CIE-LCHlch(29.38, 59.99, 329.01°)
OKLaboklab(41.36% 0.1451 -0.0855)
OKLCHoklch(41.36% 0.168 329.5)
XYZxyz(11.4615, 5.9866, 17.6879)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791776 #17791A
analogous
#4B1779 #791776 #791745
triadic
#791776 #767917 #177679
tetradic
#791776 #794B17 #17791A #174579
square
#791776 #794B17 #17791A #174579
split-complementary
#791776 #457917 #17794B
monochromatic
#1A0519 #460D44 #791776 #AC21A8 #D832D3

Accessibility & contrast

On white

9.56
#791776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791776
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791776#FFFFFF#000000##FFFFFF
##7917761.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7E2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791776;
/* rgb */ color: rgb(121, 23, 118);
/* oklch */ color: oklch(41.4% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3619e',
    500: '#791776',
    950: '#000000',
  },
}
SCSS
$custom: #791776;
$custom-light: #a3619e;
$custom-dark: #000000;
JSON
{
  "hex": "#791776",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 301.837,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.16838,
    "h": 329.5
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#791776
secondary
#3EAE41
accent
#EB423D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791776

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

Preview Lab → · Contrast checker → · Palette generator →

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