#791D75#791D75

#791D75 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.161 H 329.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#791D75
RGBrgb(121, 29, 117)
HSLhsl(303, 61%, 29%)
HSVhsv(303, 76%, 47%)
CMYKcmyk(0%, 76%, 3.3%, 52.5%)
CIE-LABlab(29.98, 49.35, -29.30)
CIE-LCHlch(29.98, 57.39, 329.31°)
OKLaboklab(41.77% 0.1396 -0.0809)
OKLCHoklch(41.77% 0.161 329.9)
XYZxyz(11.5353, 6.2289, 17.4209)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D75 #1D7921
analogous
#4F1D79 #791D75 #791D47
triadic
#791D75 #75791D #1D7579
tetradic
#791D75 #794F1D #1D7921 #1D4779
square
#791D75 #794F1D #1D7921 #1D4779
split-complementary
#791D75 #47791D #1D794F
monochromatic
#190618 #481145 #791D75 #AA29A5 #D13FCB

Accessibility & contrast

On white

9.35
#791D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#791D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D75
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D75#FFFFFF#000000##FFFFFF
##791D751.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F77
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#7E2A47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791d75;
/* rgb */ color: rgb(121, 29, 117);
/* oklch */ color: oklch(41.8% 0.161 329.9);
Tailwind
colors: {
  custom: {
    50: '#a3649d',
    500: '#791d75',
    950: '#000000',
  },
}
SCSS
$custom: #791d75;
$custom-light: #a3649d;
$custom-dark: #000000;
JSON
{
  "hex": "#791d75",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 302.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.16136,
    "h": 329.9
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#791D75
secondary
#45AD4A
accent
#E44A43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791D75

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

Preview Lab → · Contrast checker → · Palette generator →

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