#791B74#791B74

#791B74 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.163 H 330.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#791B74
RGBrgb(121, 27, 116)
HSLhsl(303, 64%, 29%)
HSVhsv(303, 78%, 47%)
CMYKcmyk(0%, 77.7%, 4.1%, 52.5%)
CIE-LABlab(29.69, 49.85, -29.12)
CIE-LCHlch(29.69, 57.74, 329.71°)
OKLaboklab(41.54% 0.1415 -0.0804)
OKLCHoklch(41.54% 0.163 330.4)
XYZxyz(11.4294, 6.1107, 17.0971)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B74 #1B7920
analogous
#4F1B79 #791B74 #791B45
triadic
#791B74 #74791B #1B7479
tetradic
#791B74 #794F1B #1B7920 #1B4579
square
#791B74 #794F1B #1B7920 #1B4579
split-complementary
#791B74 #45791B #1B794F
monochromatic
#190618 #471044 #791B74 #AB26A4 #D33BCB

Accessibility & contrast

On white

9.45
#791B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#791B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B74
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B74#FFFFFF#000000##FFFFFF
##791B741.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7E2846
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791b74;
/* rgb */ color: rgb(121, 27, 116);
/* oklch */ color: oklch(41.5% 0.163 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3639c',
    500: '#791b74',
    950: '#000000',
  },
}
SCSS
$custom: #791b74;
$custom-light: #a3639c;
$custom-dark: #000000;
JSON
{
  "hex": "#791b74",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 303.191,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.16276,
    "h": 330.4
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#791B74
secondary
#43AD48
accent
#E74A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791B74

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

Preview Lab → · Contrast checker → · Palette generator →

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