#791F99#791F99

#791F99 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.190 H 315.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#791F99
RGBrgb(121, 31, 153)
HSLhsl(284, 66%, 36%)
HSVhsv(284, 80%, 60%)
CMYKcmyk(20.9%, 79.7%, 0%, 40%)
CIE-LABlab(32.58, 55.44, -47.54)
CIE-LCHlch(32.58, 73.03, 319.39°)
OKLaboklab(44.37% 0.1346 -0.1342)
OKLCHoklch(44.37% 0.19 315.1)
XYZxyz(14.1240, 7.3454, 30.8046)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F99 #3F991F
analogous
#3C1F99 #791F99 #991F7C
triadic
#791F99 #99791F #1F9979
tetradic
#791F99 #993C1F #3F991F #1F7C99
square
#791F99 #993C1F #3F991F #1F7C99
split-complementary
#791F99 #7C991F #1F993C
monochromatic
#290A33 #511566 #791F99 #A129CC #B956DD

Accessibility & contrast

On white

8.51
#791F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#791F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F99
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F99#FFFFFF#000000##FFFFFF
##791F991.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#184F96
Tritanopia (blue-blind)
#763C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #791f99;
/* rgb */ color: rgb(121, 31, 153);
/* oklch */ color: oklch(44.4% 0.190 315.1);
Tailwind
colors: {
  custom: {
    50: '#a466b8',
    500: '#791f99',
    950: '#000000',
  },
}
SCSS
$custom: #791f99;
$custom-light: #a466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791f99",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 284.262,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.1901,
    "h": 315.1
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#791F99
secondary
#70C054
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F99

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

Preview Lab → · Contrast checker → · Palette generator →

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