#791877#791877

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

Color values

HEX#791877
RGBrgb(121, 24, 119)
HSLhsl(301, 67%, 28%)
HSVhsv(301, 80%, 47%)
CMYKcmyk(0%, 80.2%, 1.7%, 52.5%)
CIE-LABlab(29.54, 51.30, -31.27)
CIE-LCHlch(29.54, 60.08, 328.64°)
OKLaboklab(41.49% 0.1442 -0.0866)
OKLCHoklch(41.49% 0.168 329)
XYZxyz(11.5415, 6.0510, 18.0093)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791877 #18791A
analogous
#4A1879 #791877 #791846
triadic
#791877 #777918 #187779
tetradic
#791877 #794A18 #18791A #184679
square
#791877 #794A18 #18791A #184679
split-complementary
#791877 #467918 #18794A
monochromatic
#1A0519 #460E45 #791877 #AC22A9 #D735D3

Accessibility & contrast

On white

9.50
#791877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791877
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791877#FFFFFF#000000##FFFFFF
##7918771.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D79
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7D2747
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791877;
/* rgb */ color: rgb(121, 24, 119);
/* oklch */ color: oklch(41.5% 0.168 329.0);
Tailwind
colors: {
  custom: {
    50: '#a3629f',
    500: '#791877',
    950: '#000000',
  },
}
SCSS
$custom: #791877;
$custom-light: #a3629f;
$custom-dark: #000000;
JSON
{
  "hex": "#791877",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 301.237,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.1682,
    "h": 329
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#791877
secondary
#3FAE41
accent
#EA423E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791877

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

Preview Lab → · Contrast checker → · Palette generator →

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