#791F85#791F85

#791F85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.173 H 322.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#791F85
RGBrgb(121, 31, 133)
HSLhsl(293, 62%, 32%)
HSVhsv(293, 77%, 52%)
CMYKcmyk(9%, 76.7%, 0%, 47.8%)
CIE-LABlab(31.21, 51.53, -37.42)
CIE-LCHlch(31.21, 63.68, 324.02°)
OKLaboklab(42.96% 0.1372 -0.1045)
OKLCHoklch(42.96% 0.173 322.7)
XYZxyz(12.6084, 6.7391, 22.8224)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F85 #2B851F
analogous
#461F85 #791F85 #851F5E
triadic
#791F85 #85791F #1F8579
tetradic
#791F85 #85461F #2B851F #1F5E85
square
#791F85 #85461F #2B851F #1F5E85
split-complementary
#791F85 #5E851F #1F8546
monochromatic
#1F0822 #4C1353 #791F85 #A62BB7 #C44AD5

Accessibility & contrast

On white

8.95
#791F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#791F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F85
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F85#FFFFFF#000000##FFFFFF
##791F851.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#7B3251
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791f85;
/* rgb */ color: rgb(121, 31, 133);
/* oklch */ color: oklch(43.0% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a365a9',
    500: '#791f85',
    950: '#000000',
  },
}
SCSS
$custom: #791f85;
$custom-light: #a365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791f85",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 292.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.17251,
    "h": 322.7
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#791F85
secondary
#56B749
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791F85

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

Preview Lab → · Contrast checker → · Palette generator →

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