#791774#791774

#791774 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.167 H 330.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#791774
RGBrgb(121, 23, 116)
HSLhsl(303, 68%, 28%)
HSVhsv(303, 81%, 47%)
CMYKcmyk(0%, 81%, 4.1%, 52.5%)
CIE-LABlab(29.26, 51.09, -29.81)
CIE-LCHlch(29.26, 59.15, 329.74°)
OKLaboklab(41.24% 0.1451 -0.0823)
OKLCHoklch(41.24% 0.167 330.4)
XYZxyz(11.3439, 5.9396, 17.0686)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791774 #17791C
analogous
#4D1779 #791774 #791743
triadic
#791774 #747917 #177479
tetradic
#791774 #794D17 #17791C #174379
square
#791774 #794D17 #17791C #174379
split-complementary
#791774 #437917 #17794D
monochromatic
#1A0519 #460D43 #791774 #AC21A5 #D832D0

Accessibility & contrast

On white

9.60
#791774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791774
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791774#FFFFFF#000000##FFFFFF
##7917741.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083D76
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#7E2545
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791774;
/* rgb */ color: rgb(121, 23, 116);
/* oklch */ color: oklch(41.2% 0.167 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3619c',
    500: '#791774',
    950: '#000000',
  },
}
SCSS
$custom: #791774;
$custom-light: #a3619c;
$custom-dark: #000000;
JSON
{
  "hex": "#791774",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 303.061,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.16682,
    "h": 330.4
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#791774
secondary
#3EAE43
accent
#EB463D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791774

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

Preview Lab → · Contrast checker → · Palette generator →

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