#791B80#791B80

#791B80 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.172 H 325.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#791B80
RGBrgb(121, 27, 128)
HSLhsl(296, 65%, 30%)
HSVhsv(296, 79%, 50%)
CMYKcmyk(5.5%, 78.9%, 0%, 49.8%)
CIE-LABlab(30.42, 51.95, -35.54)
CIE-LCHlch(30.42, 62.95, 325.62°)
OKLaboklab(42.3% 0.1412 -0.0991)
OKLCHoklch(42.3% 0.173 325)
XYZxyz(12.1731, 6.4081, 21.0136)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B80 #22801B
analogous
#471B80 #791B80 #801B54
triadic
#791B80 #80791B #1B8079
tetradic
#791B80 #80471B #22801B #1B5480
square
#791B80 #80471B #22801B #1B5480
split-complementary
#791B80 #54801B #1B8047
monochromatic
#19061B #49104D #791B80 #A926B3 #CC3FD6

Accessibility & contrast

On white

9.20
#791B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#791B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B80
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B80#FFFFFF#000000##FFFFFF
##791B801.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#7C2E4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791b80;
/* rgb */ color: rgb(121, 27, 128);
/* oklch */ color: oklch(42.3% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#a363a5',
    500: '#791b80',
    950: '#000000',
  },
}
SCSS
$custom: #791b80;
$custom-light: #a363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791b80",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 295.842,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.1725,
    "h": 325
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#791B80
secondary
#4BB443
accent
#E8404B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791B80

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

Preview Lab → · Contrast checker → · Palette generator →

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