#791676#791676

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

Color values

HEX#791676
RGBrgb(121, 22, 118)
HSLhsl(302, 69%, 28%)
HSVhsv(302, 82%, 47%)
CMYKcmyk(0%, 81.8%, 2.5%, 52.5%)
CIE-LABlab(29.28, 51.71, -31.05)
CIE-LCHlch(29.28, 60.31, 329.02°)
OKLaboklab(41.29% 0.1459 -0.0859)
OKLCHoklch(41.29% 0.169 329.5)
XYZxyz(11.4420, 5.9477, 17.6814)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791676 #167919
analogous
#4A1679 #791676 #791644
triadic
#791676 #767916 #167679
tetradic
#791676 #794A16 #167919 #164479
square
#791676 #794A16 #167919 #164479
split-complementary
#791676 #447916 #16794A
monochromatic
#1A0519 #450D43 #791676 #AD1FA9 #D930D4

Accessibility & contrast

On white

9.59
#791676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791676
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791676#FFFFFF#000000##FFFFFF
##7916761.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#354974
Tritanopia (blue-blind)
#7E2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791676;
/* rgb */ color: rgb(121, 22, 118);
/* oklch */ color: oklch(41.3% 0.169 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3619e',
    500: '#791676',
    950: '#000000',
  },
}
SCSS
$custom: #791676;
$custom-light: #a3619e;
$custom-dark: #000000;
JSON
{
  "hex": "#791676",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 301.818,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.16931,
    "h": 329.5
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#791676
secondary
#3DAE40
accent
#EC413C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791676

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

Preview Lab → · Contrast checker → · Palette generator →

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