#791778#791778

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

Color values

HEX#791778
RGBrgb(121, 23, 120)
HSLhsl(301, 68%, 28%)
HSVhsv(301, 81%, 47%)
CMYKcmyk(0%, 81%, 0.8%, 52.5%)
CIE-LABlab(29.50, 51.76, -31.97)
CIE-LCHlch(29.50, 60.84, 328.30°)
OKLaboklab(41.48% 0.145 -0.0886)
OKLCHoklch(41.48% 0.17 328.6)
XYZxyz(11.5816, 6.0347, 18.3205)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791778 #177918
analogous
#491779 #791778 #791747
triadic
#791778 #787917 #177879
tetradic
#791778 #794917 #177918 #174779
square
#791778 #794917 #177918 #174779
split-complementary
#791778 #477917 #177949
monochromatic
#1A051A #460D45 #791778 #AC21AB #D832D6

Accessibility & contrast

On white

9.52
#791778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791778
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791778#FFFFFF#000000##FFFFFF
##7917781.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#7D2748
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791778;
/* rgb */ color: rgb(121, 23, 120);
/* oklch */ color: oklch(41.5% 0.170 328.6);
Tailwind
colors: {
  custom: {
    50: '#a3629f',
    500: '#791778',
    950: '#000000',
  },
}
SCSS
$custom: #791778;
$custom-light: #a3629f;
$custom-dark: #000000;
JSON
{
  "hex": "#791778",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 300.612,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.16995,
    "h": 328.6
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#791778
secondary
#3EAE3F
accent
#EB3F3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791778

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

Preview Lab → · Contrast checker → · Palette generator →

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