#791677#791677

#791677 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 329.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#791677
RGBrgb(121, 22, 119)
HSLhsl(301, 69%, 28%)
HSVhsv(301, 82%, 47%)
CMYKcmyk(0%, 81.8%, 1.7%, 52.5%)
CIE-LABlab(29.34, 51.88, -31.58)
CIE-LCHlch(29.34, 60.74, 328.67°)
OKLaboklab(41.35% 0.1459 -0.0875)
OKLCHoklch(41.35% 0.17 329)
XYZxyz(11.5017, 5.9716, 17.9960)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791677 #167918
analogous
#491679 #791677 #791645
triadic
#791677 #777916 #167779
tetradic
#791677 #794916 #167918 #164579
square
#791677 #794916 #167918 #164579
split-complementary
#791677 #457916 #167949
monochromatic
#1A0519 #450D44 #791677 #AD1FAA #D930D6

Accessibility & contrast

On white

9.57
#791677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791677
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791677#FFFFFF#000000##FFFFFF
##7916771.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7D2647
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791677;
/* rgb */ color: rgb(121, 22, 119);
/* oklch */ color: oklch(41.3% 0.170 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791677',
    950: '#000000',
  },
}
SCSS
$custom: #791677;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791677",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 301.212,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.17009,
    "h": 329
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#791677
secondary
#3DAE3F
accent
#EC3F3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791677

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

Preview Lab → · Contrast checker → · Palette generator →

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