#791D90#791D90

#791D90 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.184 H 318.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#791D90
RGBrgb(121, 29, 144)
HSLhsl(288, 66%, 34%)
HSVhsv(288, 80%, 56%)
CMYKcmyk(16%, 79.9%, 0%, 43.5%)
CIE-LABlab(31.71, 54.31, -43.42)
CIE-LCHlch(31.71, 69.53, 321.36°)
OKLaboklab(43.55% 0.1378 -0.1221)
OKLCHoklch(43.55% 0.184 318.4)
XYZxyz(13.3579, 6.9579, 27.0195)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D90 #34901D
analogous
#401D90 #791D90 #901D6E
triadic
#791D90 #90791D #1D9079
tetradic
#791D90 #90401D #34901D #1D6E90
square
#791D90 #90401D #34901D #1D6E90
split-complementary
#791D90 #6E901D #1D9040
monochromatic
#23082A #4E135D #791D90 #A427C3 #BE4CDB

Accessibility & contrast

On white

8.78
#791D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#791D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D90
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D90#FFFFFF#000000##FFFFFF
##791D901.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#244D8E
Tritanopia (blue-blind)
#783756
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791d90;
/* rgb */ color: rgb(121, 29, 144);
/* oklch */ color: oklch(43.6% 0.184 318.4);
Tailwind
colors: {
  custom: {
    50: '#a465b1',
    500: '#791d90',
    950: '#000000',
  },
}
SCSS
$custom: #791d90;
$custom-light: #a465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791d90",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 288,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.18412,
    "h": 318.4
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#791D90
secondary
#62BD4B
accent
#E93E61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791D90

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

Preview Lab → · Contrast checker → · Palette generator →

#791D90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva