#791471#791471

#791471 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 331.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#791471
RGBrgb(121, 20, 113)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 83%, 47%)
CMYKcmyk(0%, 83.5%, 6.6%, 52.5%)
CIE-LABlab(28.79, 51.43, -28.63)
CIE-LCHlch(28.79, 58.86, 330.90°)
OKLaboklab(40.85% 0.1475 -0.0789)
OKLCHoklch(40.85% 0.167 331.9)
XYZxyz(11.1160, 5.7585, 16.1456)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791471 #14791C
analogous
#4E1479 #791471 #79143F
triadic
#791471 #717914 #147179
tetradic
#791471 #794E14 #14791C #143F79
square
#791471 #794E14 #14791C #143F79
split-complementary
#791471 #3F7914 #14794E
monochromatic
#1A0419 #440B40 #791471 #AE1DA2 #DC2BCE

Accessibility & contrast

On white

9.76
#791471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791471
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791471#FFFFFF#000000##FFFFFF
##7914711.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#7E2243
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791471;
/* rgb */ color: rgb(121, 20, 113);
/* oklch */ color: oklch(40.8% 0.167 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3609a',
    500: '#791471',
    950: '#000000',
  },
}
SCSS
$custom: #791471;
$custom-light: #a3609a;
$custom-dark: #000000;
JSON
{
  "hex": "#791471",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 304.752,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.16729,
    "h": 331.9
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#791471
secondary
#3AAF43
accent
#EE4839
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791471

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

Preview Lab → · Contrast checker → · Palette generator →

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