#791CA0#791CA0

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

Color values

HEX#791CA0
RGBrgb(121, 28, 160)
HSLhsl(282, 70%, 37%)
HSVhsv(282, 83%, 63%)
CMYKcmyk(24.4%, 82.5%, 0%, 37.3%)
CIE-LABlab(32.78, 57.81, -51.48)
CIE-LCHlch(32.78, 77.41, 318.32°)
OKLaboklab(44.67% 0.1355 -0.1458)
OKLCHoklch(44.67% 0.199 312.9)
XYZxyz(14.6444, 7.4340, 33.9144)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791CA0 #43A01C
analogous
#371CA0 #791CA0 #A01C85
triadic
#791CA0 #A0791C #1CA079
tetradic
#791CA0 #A0371C #43A01C #1C85A0
square
#791CA0 #A0371C #43A01C #1C85A0
split-complementary
#791CA0 #85A01C #1CA037
monochromatic
#2A0A38 #52136C #791CA0 #A025D4 #B855E1

Accessibility & contrast

On white

8.44
#791CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#791CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791CA0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791CA0#FFFFFF#000000##FFFFFF
##791CA01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791ca0;
/* rgb */ color: rgb(121, 28, 160);
/* oklch */ color: oklch(44.7% 0.199 312.9);
Tailwind
colors: {
  custom: {
    50: '#a465bd',
    500: '#791ca0',
    950: '#000000',
  },
}
SCSS
$custom: #791ca0;
$custom-light: #a465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#791ca0",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 282.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.19905,
    "h": 312.9
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#791CA0
secondary
#75C453
accent
#ED3B6F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #791CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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