#791F90#791F90

#791F90 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.182 H 318.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#791F90
RGBrgb(121, 31, 144)
HSLhsl(288, 65%, 34%)
HSVhsv(288, 78%, 56%)
CMYKcmyk(16%, 78.5%, 0%, 43.5%)
CIE-LABlab(31.94, 53.64, -43.05)
CIE-LCHlch(31.94, 68.78, 321.25°)
OKLaboklab(43.72% 0.1361 -0.121)
OKLCHoklch(43.72% 0.182 318.3)
XYZxyz(13.4085, 7.0592, 27.0364)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F90 #36901F
analogous
#411F90 #791F90 #901F6E
triadic
#791F90 #90791F #1F9079
tetradic
#791F90 #90411F #36901F #1F6E90
square
#791F90 #90411F #36901F #1F6E90
split-complementary
#791F90 #6E901F #1F9041
monochromatic
#24092B #4F145E #791F90 #A32AC2 #BD50D9

Accessibility & contrast

On white

8.71
#791F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#791F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F90
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F90#FFFFFF#000000##FFFFFF
##791F901.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#783857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791f90;
/* rgb */ color: rgb(121, 31, 144);
/* oklch */ color: oklch(43.7% 0.182 318.3);
Tailwind
colors: {
  custom: {
    50: '#a466b1',
    500: '#791f90',
    950: '#000000',
  },
}
SCSS
$custom: #791f90;
$custom-light: #a466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791f90",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 287.788,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.18211,
    "h": 318.3
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#791F90
secondary
#65BC4E
accent
#E84062
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F90

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

Preview Lab → · Contrast checker → · Palette generator →

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