#791C90#791C90

#791C90 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.185 H 318.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#791C90
RGBrgb(121, 28, 144)
HSLhsl(288, 67%, 34%)
HSVhsv(288, 81%, 56%)
CMYKcmyk(16%, 80.6%, 0%, 43.5%)
CIE-LABlab(31.60, 54.63, -43.60)
CIE-LCHlch(31.60, 69.89, 321.41°)
OKLaboklab(43.48% 0.1386 -0.1226)
OKLCHoklch(43.48% 0.185 318.5)
XYZxyz(13.3338, 6.9097, 27.0115)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C90 #33901C
analogous
#3F1C90 #791C90 #901C6D
triadic
#791C90 #90791C #1C9079
tetradic
#791C90 #903F1C #33901C #1C6D90
square
#791C90 #903F1C #33901C #1C6D90
split-complementary
#791C90 #6D901C #1C903F
monochromatic
#23082A #4E125D #791C90 #A426C3 #BF4ADC

Accessibility & contrast

On white

8.82
#791C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#791C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C90
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C90#FFFFFF#000000##FFFFFF
##791C901.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#783656
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791c90;
/* rgb */ color: rgb(121, 28, 144);
/* oklch */ color: oklch(43.5% 0.185 318.5);
Tailwind
colors: {
  custom: {
    50: '#a465b1',
    500: '#791c90',
    950: '#000000',
  },
}
SCSS
$custom: #791c90;
$custom-light: #a465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791c90",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 288.103,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.18508,
    "h": 318.5
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#791C90
secondary
#61BE4A
accent
#EA3D60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791C90

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

Preview Lab → · Contrast checker → · Palette generator →

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