#791777#791777

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

Color values

HEX#791777
RGBrgb(121, 23, 119)
HSLhsl(301, 68%, 28%)
HSVhsv(301, 81%, 47%)
CMYKcmyk(0%, 81%, 1.7%, 52.5%)
CIE-LABlab(29.44, 51.59, -31.43)
CIE-LCHlch(29.44, 60.41, 328.65°)
OKLaboklab(41.42% 0.1451 -0.087)
OKLCHoklch(41.42% 0.169 329)
XYZxyz(11.5212, 6.0105, 18.0025)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791777 #177919
analogous
#4A1779 #791777 #791746
triadic
#791777 #777917 #177779
tetradic
#791777 #794A17 #177919 #174679
square
#791777 #794A17 #177919 #174679
split-complementary
#791777 #467917 #17794A
monochromatic
#1A0519 #460D44 #791777 #AC21AA #D832D5

Accessibility & contrast

On white

9.54
#791777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791777
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791777#FFFFFF#000000##FFFFFF
##7917771.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791777;
/* rgb */ color: rgb(121, 23, 119);
/* oklch */ color: oklch(41.4% 0.169 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791777',
    950: '#000000',
  },
}
SCSS
$custom: #791777;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791777",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 301.224,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.16916,
    "h": 329
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#791777
secondary
#3EAE40
accent
#EB403D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791777

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

Preview Lab → · Contrast checker → · Palette generator →

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