#791779#791779

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

Color values

HEX#791779
RGBrgb(121, 23, 121)
HSLhsl(300, 68%, 28%)
HSVhsv(300, 81%, 47%)
CMYKcmyk(0%, 81%, 0%, 52.5%)
CIE-LABlab(29.56, 51.93, -32.50)
CIE-LCHlch(29.56, 61.27, 327.96°)
OKLaboklab(41.55% 0.145 -0.0902)
OKLCHoklch(41.55% 0.171 328.1)
XYZxyz(11.6426, 6.0591, 18.6418)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791779 #177917
analogous
#481779 #791779 #791748
triadic
#791779 #797917 #177979
tetradic
#791779 #794817 #177917 #174879
square
#791779 #794817 #177917 #174879
split-complementary
#791779 #487917 #177948
monochromatic
#1A051A #460D46 #791779 #AC21AC #D832D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791779#FFFFFF#000000##FFFFFF
##7917791.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)
#003E7C
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#7D2848
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791779;
/* rgb */ color: rgb(121, 23, 121);
/* oklch */ color: oklch(41.5% 0.171 328.1);
Tailwind
colors: {
  custom: {
    50: '#a362a0',
    500: '#791779',
    950: '#000000',
  },
}
SCSS
$custom: #791779;
$custom-light: #a362a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791779",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.17073,
    "h": 328.1
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#791779
secondary
#3EAE3E
accent
#EB3D3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #791779

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

Preview Lab → · Contrast checker → · Palette generator →

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