#791DA0#791DA0

#791DA0 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.198 H 312.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#791DA0
RGBrgb(121, 29, 160)
HSLhsl(282, 69%, 37%)
HSVhsv(282, 82%, 63%)
CMYKcmyk(24.4%, 81.9%, 0%, 37.3%)
CIE-LABlab(32.88, 57.50, -51.31)
CIE-LCHlch(32.88, 77.07, 318.26°)
OKLaboklab(44.74% 0.1348 -0.1453)
OKLCHoklch(44.74% 0.198 312.9)
XYZxyz(14.6685, 7.4822, 33.9224)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791DA0 #44A01D
analogous
#371DA0 #791DA0 #A01D86
triadic
#791DA0 #A0791D #1DA079
tetradic
#791DA0 #A0371D #44A01D #1D86A0
square
#791DA0 #A0371D #44A01D #1D86A0
split-complementary
#791DA0 #86A01D #1DA037
monochromatic
#2B0A38 #52146C #791DA0 #A026D4 #B857E1

Accessibility & contrast

On white

8.41
#791DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#791DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791DA0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791DA0#FFFFFF#000000##FFFFFF
##791DA01.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#024F9D
Tritanopia (blue-blind)
#753E60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #791da0;
/* rgb */ color: rgb(121, 29, 160);
/* oklch */ color: oklch(44.7% 0.198 312.9);
Tailwind
colors: {
  custom: {
    50: '#a466bd',
    500: '#791da0',
    950: '#000000',
  },
}
SCSS
$custom: #791da0;
$custom-light: #a466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#791da0",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 282.137,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.19817,
    "h": 312.9
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#791DA0
secondary
#76C455
accent
#EC3C70
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #791DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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