#791E81#791E81

#791E81 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.170 H 324.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#791E81
RGBrgb(121, 30, 129)
HSLhsl(295, 62%, 31%)
HSVhsv(295, 77%, 51%)
CMYKcmyk(6.2%, 76.7%, 0%, 49.4%)
CIE-LABlab(30.83, 51.13, -35.52)
CIE-LCHlch(30.83, 62.26, 325.22°)
OKLaboklab(42.61% 0.1384 -0.099)
OKLCHoklch(42.61% 0.17 324.4)
XYZxyz(12.3116, 6.5793, 21.3861)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E81 #26811E
analogous
#471E81 #791E81 #811E57
triadic
#791E81 #81791E #1E8179
tetradic
#791E81 #81471E #26811E #1E5781
square
#791E81 #81471E #26811E #1E5781
split-complementary
#791E81 #57811E #1E8147
monochromatic
#1C071E #4A124F #791E81 #A82AB3 #C846D4

Accessibility & contrast

On white

9.07
#791E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#791E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E81
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E81#FFFFFF#000000##FFFFFF
##791E811.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#324C7F
Tritanopia (blue-blind)
#7C304E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791e81;
/* rgb */ color: rgb(121, 30, 129);
/* oklch */ color: oklch(42.6% 0.170 324.4);
Tailwind
colors: {
  custom: {
    50: '#a365a6',
    500: '#791e81',
    950: '#000000',
  },
}
SCSS
$custom: #791e81;
$custom-light: #a365a6;
$custom-dark: #000000;
JSON
{
  "hex": "#791e81",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 295.152,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.17018,
    "h": 324.4
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#791E81
secondary
#50B447
accent
#E54250
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791E81

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

Preview Lab → · Contrast checker → · Palette generator →

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